2020-06-12 20:58:24 -05: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-20 22:23:22 -05:00
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2020-06-12 20:58:24 -05: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-20 22:23:22 -05:00
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2020-06-12 20:58:24 -05: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-20 22:23:22 -05:00
|
|
|
//~| ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
|
2020-06-12 20:58:24 -05:00
|
|
|
fn main() {
|
|
|
|
}
|