In the case of ‘no deal’ you should know that as an EU citizen studying or training in the UK, you will be subject to UK rules on residency. The UK government has announced that you do not need to apply for any immigration status or visa if you do not intend to stay in the UK for more than 3 months. However, you will need to apply for 'European Temporary Leave to Remain' to stay longer than 3