blob: 5a04749132ce21ee5208ae8c0cf82bac87e194f9 [file]
// check that `pattern_complexity_limit` is feature-gated
#![pattern_complexity_limit = "42"]
//~^ ERROR: use of an internal attribute [E0658]
//~| ERROR: use of an internal attribute [E0658]
//~| NOTE the `pattern_complexity_limit` attribute is an internal implementation detail that will never be stable
//~| NOTE: the `pattern_complexity_limit` attribute is used for rustc unit tests
//~| NOTE the `pattern_complexity_limit` attribute is an internal implementation detail that will never be stable
//~| NOTE: the `pattern_complexity_limit` attribute is used for rustc unit tests
//~| NOTE: duplicate diagnostic
fn main() {}