]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/proc-macro/macro-namespace-reserved-2.stderr
58a7f97490515e1bd915970df21c581a6058ff03
[rust.git] / src / test / ui-fulldeps / proc-macro / macro-namespace-reserved-2.stderr
1 error: can't use a procedural macro from the same crate that defines it
2   --> $DIR/macro-namespace-reserved-2.rs:35:5
3    |
4 LL |     my_macro!(); //~ ERROR can't use a procedural macro from the same crate that defines it
5    |     ^^^^^^^^^^^^
6
7 error: can't use a procedural macro from the same crate that defines it
8   --> $DIR/macro-namespace-reserved-2.rs:38:5
9    |
10 LL |     my_macro_attr!(); //~ ERROR can't use a procedural macro from the same crate that defines it
11    |     ^^^^^^^^^^^^^^^^^
12
13 error: can't use a procedural macro from the same crate that defines it
14   --> $DIR/macro-namespace-reserved-2.rs:41:5
15    |
16 LL |     MyTrait!(); //~ ERROR can't use a procedural macro from the same crate that defines it
17    |     ^^^^^^^^^^^
18
19 error: can't use a procedural macro from the same crate that defines it
20   --> $DIR/macro-namespace-reserved-2.rs:44:1
21    |
22 LL | #[my_macro] //~ ERROR can't use a procedural macro from the same crate that defines it
23    | ^^^^^^^^^^^
24
25 error: can't use a procedural macro from the same crate that defines it
26   --> $DIR/macro-namespace-reserved-2.rs:46:1
27    |
28 LL | #[my_macro_attr] //~ ERROR can't use a procedural macro from the same crate that defines it
29    | ^^^^^^^^^^^^^^^^
30
31 error: can't use a procedural macro from the same crate that defines it
32   --> $DIR/macro-namespace-reserved-2.rs:48:1
33    |
34 LL | #[MyTrait] //~ ERROR can't use a procedural macro from the same crate that defines it
35    | ^^^^^^^^^^
36
37 error: can't use a procedural macro from the same crate that defines it
38   --> $DIR/macro-namespace-reserved-2.rs:51:10
39    |
40 LL | #[derive(my_macro)] //~ ERROR can't use a procedural macro from the same crate that defines it
41    |          ^^^^^^^^
42
43 error: can't use a procedural macro from the same crate that defines it
44   --> $DIR/macro-namespace-reserved-2.rs:53:10
45    |
46 LL | #[derive(my_macro_attr)] //~ ERROR can't use a procedural macro from the same crate that defines it
47    |          ^^^^^^^^^^^^^
48
49 error: can't use a procedural macro from the same crate that defines it
50   --> $DIR/macro-namespace-reserved-2.rs:55:10
51    |
52 LL | #[derive(MyTrait)] //~ ERROR can't use a procedural macro from the same crate that defines it
53    |          ^^^^^^^
54
55 error: aborting due to 9 previous errors
56