diff options
| author | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2025-06-03 09:54:30 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2025-06-03 11:45:58 +0200 |
| commit | 49969468b59287f905a001097de66ff9659b7b79 (patch) | |
| tree | 9b55c2b8709812cc81da7135abaadae2929c6b69 /tests/ui/parser/extern-crate-async.rs | |
| parent | b17dba45186c454576d0fc8fb93ecc65eb1a763a (diff) | |
| download | rust-49969468b59287f905a001097de66ff9659b7b79.tar.gz rust-49969468b59287f905a001097de66ff9659b7b79.zip | |
Add missing 2015 edition directives
These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
Diffstat (limited to 'tests/ui/parser/extern-crate-async.rs')
| -rw-r--r-- | tests/ui/parser/extern-crate-async.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/parser/extern-crate-async.rs b/tests/ui/parser/extern-crate-async.rs index 529e0f1ab5c..13bd786d092 100644 --- a/tests/ui/parser/extern-crate-async.rs +++ b/tests/ui/parser/extern-crate-async.rs @@ -1,6 +1,7 @@ -// Make sure that we don't parse `extern crate async` +// Make sure that we don't parse `extern crate async` as // the front matter of a function leading us astray. +//@ edition: 2015 //@ check-pass fn main() {} |
