]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rust-2018/dyn-keyword.fixed
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / rust-2018 / dyn-keyword.fixed
CommitLineData
0bf4aa26
XL
1// edition:2015
2// run-rustfix
3
4#![allow(unused_variables)]
5#![deny(keyword_idents)]
6
7fn main() {
8 let r#dyn = (); //~ ERROR dyn
136023e0 9 //~^ WARN this is accepted in the current edition
0bf4aa26 10}