mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
11 lines
236 B
Rust
11 lines
236 B
Rust
//@ check-pass
|
|
//@ compile-flags: -W rust-2018-compatibility
|
|
//@ edition: 2015
|
|
|
|
fn main() {}
|
|
|
|
mod lint_pre_expansion_extern_module_aux;
|
|
|
|
//~? WARN `try` is a keyword in the 2018 edition
|
|
//~? WARN this is accepted in the current edition
|