rust/tests/ui/lint/lint-pre-expansion-extern-module.rs
Lukas Wirth 49969468b5 Add missing 2015 edition directives
These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
2025-06-03 11:45:58 +02:00

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