blob: 928e1610614325a0e9863aa3197e562d36f767cb (
plain)
1
2
3
4
5
6
7
8
9
|
// should error due to missing feature gate.
#![warn(unused)]
#[expect(unused)]
//~^ ERROR: the `#[expect]` attribute is an experimental feature [E0658]
fn main() {
let x = 1;
}
|