]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2018/dyn-keyword.fixed
Auto merge of #93718 - thomcc:used-macho, r=pnkfelix
[rust.git] / src / test / ui / rust-2018 / dyn-keyword.fixed
1 // edition:2015
2 // run-rustfix
3
4 #![allow(unused_variables)]
5 #![deny(keyword_idents)]
6
7 fn main() {
8     let r#dyn = (); //~ ERROR dyn
9     //~^ WARN this is accepted in the current edition
10 }