2018-09-15 12:18:49 -05:00
|
|
|
// edition:2015
|
|
|
|
// run-rustfix
|
|
|
|
|
|
|
|
#![allow(unused_variables)]
|
|
|
|
#![deny(keyword_idents)]
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let dyn = (); //~ ERROR dyn
|
2021-06-16 07:27:44 -05:00
|
|
|
//~^ WARN this is accepted in the current edition
|
2018-09-15 12:18:49 -05:00
|
|
|
}
|