mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +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() {}
|