diff options
Diffstat (limited to 'tests/ui/rfc-2397-do-not-recommend/unstable-feature.rs')
| -rw-r--r-- | tests/ui/rfc-2397-do-not-recommend/unstable-feature.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/rfc-2397-do-not-recommend/unstable-feature.rs b/tests/ui/rfc-2397-do-not-recommend/unstable-feature.rs new file mode 100644 index 00000000000..b816c4a19da --- /dev/null +++ b/tests/ui/rfc-2397-do-not-recommend/unstable-feature.rs @@ -0,0 +1,7 @@ +#[do_not_recommend] +//~^ ERROR the `#[do_not_recommend]` attribute is an experimental feature +trait Foo { +} + +fn main() { +} |
