diff options
Diffstat (limited to 'src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.rs')
-rw-r--r-- | src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.rs b/src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.rs deleted file mode 100644 index c0cde75d4..000000000 --- a/src/test/ui/deprecation/issue-66340-deprecated-attr-non-meta-grammar.rs +++ /dev/null @@ -1,11 +0,0 @@ -// The original problem in #66340 was that `find_deprecation_generic` -// called `attr.meta().unwrap()` under the assumption that the attribute -// was a well-formed `MetaItem`. - -fn main() { - foo() -} - -#[deprecated(note = test)] -//~^ ERROR expected unsuffixed literal or identifier, found `test` -fn foo() {} |