diff options
Diffstat (limited to 'tests/ui/deprecation/deprecated-macro_escape.rs')
-rw-r--r-- | tests/ui/deprecation/deprecated-macro_escape.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/deprecation/deprecated-macro_escape.rs b/tests/ui/deprecation/deprecated-macro_escape.rs new file mode 100644 index 000000000..4a89b4062 --- /dev/null +++ b/tests/ui/deprecation/deprecated-macro_escape.rs @@ -0,0 +1,6 @@ +// run-pass + +#[macro_escape] //~ WARNING `#[macro_escape]` is a deprecated synonym for `#[macro_use]` +mod foo {} + +fn main() {} |