Fixes #5708: Display warning when migrating  directive