blob: bbab6f877487628d51dc77614638b9247c14bffe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
mod a {}
macro_rules! m {
() => {
use a::$crate; //~ ERROR unresolved import `a::$crate`
use a::$crate::b; //~ ERROR `$crate` in paths can only be used in start position
type A = a::$crate; //~ ERROR `$crate` in paths can only be used in start position
}
}
m!();
fn main() {}
|