]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/future-incompat-test.rs
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / lint / future-incompat-test.rs
1 // compile-flags: -Zfuture-incompat-test -Zemit-future-incompat-report
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
8 fn main() {
9     let x = 1;
10 }