]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/rfc-2383-lint-reason/no_ice_for_partial_compiler_runs.stdout
Update unsuspicious file list
[rustc.git] / src / test / ui / lint / rfc-2383-lint-reason / no_ice_for_partial_compiler_runs.stdout
CommitLineData
04454e1e
FG
1#![feature(prelude_import)]
2#![no_std]
3// This ensures that ICEs like rust#94953 don't happen
4// check-pass
5// compile-flags: -Z unpretty=expanded
6
7#![feature(lint_reasons)]
8#[prelude_import]
9use ::std::prelude::rust_2015::*;
10#[macro_use]
11extern crate std;
12
13// This `expect` will create an expectation with an unstable expectation id
14#[expect(while_true)]
15fn create_early_lint_pass_expectation() {
16 // `while_true` is an early lint
17 while true {}
18}
19
20fn main() { create_early_lint_pass_expectation(); }