resolve: Introduce two sub-namespaces in macro namespace
This commit is contained in:
parent
994cdd9185
commit
beb3b5d22c
10 changed files with 64 additions and 35 deletions
|
|
@ -9,5 +9,5 @@
|
|||
// except according to those terms.
|
||||
|
||||
fn main() {
|
||||
concat!(test!()); //~ ERROR `test` can only be used in attributes
|
||||
concat!(test!()); //~ ERROR cannot find macro `test!` in this scope
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
error: `test` can only be used in attributes
|
||||
error: cannot find macro `test!` in this scope
|
||||
--> $DIR/issue-11692-2.rs:12:13
|
||||
|
|
||||
LL | concat!(test!()); //~ ERROR `test` can only be used in attributes
|
||||
LL | concat!(test!()); //~ ERROR cannot find macro `test!` in this scope
|
||||
| ^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue