2018-07-19 07:06:31 -07:00
|
|
|
// aux-build:attribute-spans-preserved.rs
|
|
|
|
|
|
|
|
|
|
extern crate attribute_spans_preserved as foo;
|
|
|
|
|
|
|
|
|
|
use foo::foo;
|
|
|
|
|
|
|
|
|
|
#[ foo ( let y: u32 = "z"; ) ] //~ ERROR: mismatched types
|
2018-08-12 20:15:59 +03:00
|
|
|
#[ bar { let x: u32 = "y"; } ] //~ ERROR: mismatched types
|
2018-07-19 07:06:31 -07:00
|
|
|
fn main() {
|
|
|
|
|
}
|