rust/src/test/ui/proc-macro/parent-source-spans.stderr

129 lines
2.9 KiB
Plaintext
Raw Normal View History

error: first final: "hello"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:17:12
|
2018-02-23 03:42:32 +03:00
LL | three!($a, $b);
| ^^
...
2018-02-23 03:42:32 +03:00
LL | one!("hello", "world");
| ----------------------- in this macro invocation
error: second final: "world"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:17:16
|
2018-02-23 03:42:32 +03:00
LL | three!($a, $b);
| ^^
...
2018-02-23 03:42:32 +03:00
LL | one!("hello", "world");
| ----------------------- in this macro invocation
error: first parent: "hello"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:11:5
|
2018-02-23 03:42:32 +03:00
LL | two!($a, $b);
| ^^^^^^^^^^^^^
...
2018-02-23 03:42:32 +03:00
LL | one!("hello", "world");
| ----------------------- in this macro invocation
error: second parent: "world"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:11:5
|
2018-02-23 03:42:32 +03:00
LL | two!($a, $b);
| ^^^^^^^^^^^^^
...
2018-02-23 03:42:32 +03:00
LL | one!("hello", "world");
| ----------------------- in this macro invocation
error: first grandparent: "hello"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:34:5
|
2018-02-23 03:42:32 +03:00
LL | one!("hello", "world");
| ^^^^^^^^^^^^^^^^^^^^^^^
error: second grandparent: "world"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:34:5
|
2018-02-23 03:42:32 +03:00
LL | one!("hello", "world");
| ^^^^^^^^^^^^^^^^^^^^^^^
error: first source: "hello"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:34:5
|
2018-02-23 03:42:32 +03:00
LL | one!("hello", "world");
| ^^^^^^^^^^^^^^^^^^^^^^^
error: second source: "world"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:34:5
|
2018-02-23 03:42:32 +03:00
LL | one!("hello", "world");
| ^^^^^^^^^^^^^^^^^^^^^^^
error: first final: "yay"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:17:12
|
2018-02-23 03:42:32 +03:00
LL | three!($a, $b);
| ^^
...
2018-02-23 03:42:32 +03:00
LL | two!("yay", "rust");
| -------------------- in this macro invocation
error: second final: "rust"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:17:16
|
2018-02-23 03:42:32 +03:00
LL | three!($a, $b);
| ^^
...
2018-02-23 03:42:32 +03:00
LL | two!("yay", "rust");
| -------------------- in this macro invocation
error: first parent: "yay"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:40:5
|
2018-02-23 03:42:32 +03:00
LL | two!("yay", "rust");
| ^^^^^^^^^^^^^^^^^^^^
error: second parent: "rust"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:40:5
|
2018-02-23 03:42:32 +03:00
LL | two!("yay", "rust");
| ^^^^^^^^^^^^^^^^^^^^
error: first source: "yay"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:40:5
|
2018-02-23 03:42:32 +03:00
LL | two!("yay", "rust");
| ^^^^^^^^^^^^^^^^^^^^
error: second source: "rust"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:40:5
|
2018-02-23 03:42:32 +03:00
LL | two!("yay", "rust");
| ^^^^^^^^^^^^^^^^^^^^
error: first final: "hip"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:46:12
|
2018-02-23 03:42:32 +03:00
LL | three!("hip", "hop");
| ^^^^^
error: second final: "hop"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:46:19
|
2018-02-23 03:42:32 +03:00
LL | three!("hip", "hop");
| ^^^^^
error: first source: "hip"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:46:12
|
2018-02-23 03:42:32 +03:00
LL | three!("hip", "hop");
| ^^^^^
error: second source: "hop"
2018-12-25 08:56:47 -07:00
--> $DIR/parent-source-spans.rs:46:19
|
2018-02-23 03:42:32 +03:00
LL | three!("hip", "hop");
| ^^^^^
error: aborting due to 18 previous errors