| #![deny(unsafe_attr_outside_unsafe)] |
| //~^ ERROR: unsafe attribute used without unsafe |
| //~| WARN this is accepted in the current edition |
| ($e:ident, $l:literal) => { |
| //~^ ERROR: unsafe attribute used without unsafe |
| //~| WARN this is accepted in the current edition |
| tt!([unsafe(no_mangle)]); |
| //~^ ERROR: unsafe attribute used without unsafe |
| //~| WARN this is accepted in the current edition |
| meta!(unsafe(no_mangle)); |
| //~^ ERROR: unsafe attribute used without unsafe |
| //~| WARN this is accepted in the current edition |
| meta2!(unsafe(export_name = "baw")); |
| //~^ ERROR: unsafe attribute used without unsafe |
| //~| WARN this is accepted in the current edition |
| ident2!(export_name, "bars"); |
| //~^ ERROR: unsafe attribute used without unsafe |
| //~| WARN this is accepted in the current edition |