b7f20d06ea
Unfortunately, the diagnotic machinery does not cope well with an empty span which can happen if the crate is empty, in which case we merely set a spanless note.
7 lines
164 B
Rust
7 lines
164 B
Rust
#![feature(use_extern_macros)]
|
|
trait Foo {}
|
|
#[derive(Foo::Anything)] //~ ERROR failed to resolve: partially resolved path in a derive macro
|
|
struct S;
|
|
|
|
fn main() {}
|