summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/issue-43106-gating-of-builtin-attrs-error.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/feature-gates/issue-43106-gating-of-builtin-attrs-error.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/issue-43106-gating-of-builtin-attrs-error.rs b/tests/ui/feature-gates/issue-43106-gating-of-builtin-attrs-error.rs
index 1fe133ac2..0f833f793 100644
--- a/tests/ui/feature-gates/issue-43106-gating-of-builtin-attrs-error.rs
+++ b/tests/ui/feature-gates/issue-43106-gating-of-builtin-attrs-error.rs
@@ -32,6 +32,12 @@
//~^ ERROR attribute should be applied to function or closure
mod inline {
//~^ NOTE not a function or closure
+ //~| NOTE the inner attribute doesn't annotate this module
+ //~| NOTE the inner attribute doesn't annotate this module
+ //~| NOTE the inner attribute doesn't annotate this module
+ //~| NOTE the inner attribute doesn't annotate this module
+ //~| NOTE the inner attribute doesn't annotate this module
+ //~| NOTE the inner attribute doesn't annotate this module
mod inner { #![inline] }
//~^ ERROR attribute should be applied to function or closure