]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/future-incompat-test.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / lint / future-incompat-test.rs
CommitLineData
a2a8927a 1// compile-flags: -Zfuture-incompat-test
136023e0
XL
2// check-pass
3
4// The `-Zfuture-incompat-test flag causes any normal warning to be included
5// in the future-incompatible report. The stderr output here should mention
6// the future incompatible report (as extracted by compiletest).
7
8fn main() {
9 let x = 1;
10}