mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
18 lines
519 B
Rust
18 lines
519 B
Rust
//@ compile-flags: -Z span-debug
|
|
//@ error-pattern:custom inner attributes are unstable
|
|
//@ error-pattern:inner macro attributes are unstable
|
|
//@ error-pattern:this was previously accepted
|
|
//@ aux-build:test-macros.rs
|
|
|
|
#![no_std] // Don't load unnecessary hygiene information from std
|
|
extern crate std;
|
|
|
|
#[macro_use]
|
|
extern crate test_macros;
|
|
|
|
#[deny(unused_attributes)]
|
|
mod module_with_attrs;
|
|
//~^ ERROR non-inline modules in proc macro input are unstable
|
|
//~| ERROR custom inner attributes are unstable
|
|
|
|
fn main() {}
|