2020-06-13 01:58:24 +00:00
|
|
|
#![deny(uncommon_codepoints, unused_attributes)]
|
|
|
|
|
|
|
|
mod foo {
|
|
|
|
#![allow(uncommon_codepoints)]
|
|
|
|
//~^ ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2021-07-21 03:23:22 +00:00
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2020-06-13 01:58:24 +00:00
|
|
|
|
|
|
|
#[allow(uncommon_codepoints)]
|
|
|
|
//~^ ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2021-07-21 03:23:22 +00:00
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2020-06-13 01:58:24 +00:00
|
|
|
const BAR: f64 = 0.000001;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[allow(uncommon_codepoints)]
|
|
|
|
//~^ ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2021-07-21 03:23:22 +00:00
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2020-06-13 01:58:24 +00:00
|
|
|
fn main() {
|
|
|
|
}
|