mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 08:18:44 +00:00
11 lines
241 B
Rust
11 lines
241 B
Rust
//@ proc-macro: attribute-spans-preserved.rs
|
|
|
|
extern crate attribute_spans_preserved as foo;
|
|
|
|
use foo::foo;
|
|
|
|
#[ foo ( let y: u32 = "z"; ) ] //~ ERROR: mismatched types
|
|
#[ bar { let x: u32 = "y"; } ] //~ ERROR: mismatched types
|
|
fn main() {
|
|
}
|