mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
7 lines
181 B
Rust
7 lines
181 B
Rust
// check that `pattern_complexity` is feature-gated
|
|
|
|
#![pattern_complexity = "42"]
|
|
//~^ ERROR: the `#[pattern_complexity]` attribute is just used for rustc unit tests
|
|
|
|
fn main() {}
|