diff options
Diffstat (limited to 'tests/ui/deprecation/try-macro-suggestion.rs')
| -rw-r--r-- | tests/ui/deprecation/try-macro-suggestion.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/deprecation/try-macro-suggestion.rs b/tests/ui/deprecation/try-macro-suggestion.rs index 635ceac0b19..1e477ab9c88 100644 --- a/tests/ui/deprecation/try-macro-suggestion.rs +++ b/tests/ui/deprecation/try-macro-suggestion.rs @@ -1,4 +1,4 @@ -// compile-flags: --edition 2018 +//@ compile-flags: --edition 2018 fn foo() -> Result<(), ()> { Ok(try!()); //~ ERROR use of deprecated `try` macro Ok(try!(Ok(()))) //~ ERROR use of deprecated `try` macro |
