rust/tests/ui/proc-macro/parent-source-spans.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

184 lines
5.5 KiB
Plaintext
Raw Normal View History

error: first final: "hello"
--> $DIR/parent-source-spans.rs:16:12
|
2018-02-23 00:42:32 +00:00
LL | three!($a, $b);
| ^^
...
2018-02-23 00:42:32 +00:00
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ---------------------- in this macro invocation
|
= note: this error originates in the macro `two` which comes from the expansion of the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
error: second final: "world"
--> $DIR/parent-source-spans.rs:16:16
|
2018-02-23 00:42:32 +00:00
LL | three!($a, $b);
| ^^
...
2018-02-23 00:42:32 +00:00
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ---------------------- in this macro invocation
|
= note: this error originates in the macro `two` which comes from the expansion of the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
error: first parent: "hello"
--> $DIR/parent-source-spans.rs:10:5
|
2018-02-23 00:42:32 +00:00
LL | two!($a, $b);
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^
...
2018-02-23 00:42:32 +00:00
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ---------------------- in this macro invocation
|
= note: this error originates in the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
error: second parent: "world"
--> $DIR/parent-source-spans.rs:10:5
|
2018-02-23 00:42:32 +00:00
LL | two!($a, $b);
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^
...
2018-02-23 00:42:32 +00:00
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ---------------------- in this macro invocation
|
= note: this error originates in the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
error: first grandparent: "hello"
--> $DIR/parent-source-spans.rs:36:5
|
2018-02-23 00:42:32 +00:00
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^
error: second grandparent: "world"
--> $DIR/parent-source-spans.rs:36:5
|
2018-02-23 00:42:32 +00:00
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^
error: first source: "hello"
--> $DIR/parent-source-spans.rs:36:5
|
2018-02-23 00:42:32 +00:00
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^
error: second source: "world"
--> $DIR/parent-source-spans.rs:36:5
|
2018-02-23 00:42:32 +00:00
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^
error: first final: "yay"
--> $DIR/parent-source-spans.rs:16:12
|
2018-02-23 00:42:32 +00:00
LL | three!($a, $b);
| ^^
...
2018-02-23 00:42:32 +00:00
LL | two!("yay", "rust");
2021-10-14 18:28:28 +00:00
| ------------------- in this macro invocation
|
= note: this error originates in the macro `two` (in Nightly builds, run with -Z macro-backtrace for more info)
error: second final: "rust"
--> $DIR/parent-source-spans.rs:16:16
|
2018-02-23 00:42:32 +00:00
LL | three!($a, $b);
| ^^
...
2018-02-23 00:42:32 +00:00
LL | two!("yay", "rust");
2021-10-14 18:28:28 +00:00
| ------------------- in this macro invocation
|
= note: this error originates in the macro `two` (in Nightly builds, run with -Z macro-backtrace for more info)
error: first parent: "yay"
--> $DIR/parent-source-spans.rs:42:5
|
2018-02-23 00:42:32 +00:00
LL | two!("yay", "rust");
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^
error: second parent: "rust"
--> $DIR/parent-source-spans.rs:42:5
|
2018-02-23 00:42:32 +00:00
LL | two!("yay", "rust");
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^
error: first source: "yay"
--> $DIR/parent-source-spans.rs:42:5
|
2018-02-23 00:42:32 +00:00
LL | two!("yay", "rust");
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^
error: second source: "rust"
--> $DIR/parent-source-spans.rs:42:5
|
2018-02-23 00:42:32 +00:00
LL | two!("yay", "rust");
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^
error: first final: "hip"
--> $DIR/parent-source-spans.rs:48:12
|
2018-02-23 00:42:32 +00:00
LL | three!("hip", "hop");
| ^^^^^
error: second final: "hop"
--> $DIR/parent-source-spans.rs:48:19
|
2018-02-23 00:42:32 +00:00
LL | three!("hip", "hop");
| ^^^^^
error: first source: "hip"
--> $DIR/parent-source-spans.rs:48:12
|
2018-02-23 00:42:32 +00:00
LL | three!("hip", "hop");
| ^^^^^
error: second source: "hop"
--> $DIR/parent-source-spans.rs:48:19
|
2018-02-23 00:42:32 +00:00
LL | three!("hip", "hop");
| ^^^^^
error[E0425]: cannot find value `ok` in this scope
--> $DIR/parent-source-spans.rs:29:5
|
LL | parent_source_spans!($($tokens)*);
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
...
LL | one!("hello", "world");
2021-10-14 18:28:28 +00:00
| ---------------------- in this macro invocation
--> $SRC_DIR/core/src/result.rs:LL:COL
|
= note: similarly named tuple variant `Ok` defined here
|
= note: this error originates in the macro `parent_source_spans` which comes from the expansion of the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0425]: cannot find value `ok` in this scope
--> $DIR/parent-source-spans.rs:29:5
|
LL | parent_source_spans!($($tokens)*);
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
...
LL | two!("yay", "rust");
2021-10-14 18:28:28 +00:00
| ------------------- in this macro invocation
--> $SRC_DIR/core/src/result.rs:LL:COL
|
= note: similarly named tuple variant `Ok` defined here
|
= note: this error originates in the macro `parent_source_spans` which comes from the expansion of the macro `two` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0425]: cannot find value `ok` in this scope
--> $DIR/parent-source-spans.rs:29:5
|
LL | parent_source_spans!($($tokens)*);
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
...
LL | three!("hip", "hop");
2021-10-14 18:28:28 +00:00
| -------------------- in this macro invocation
--> $SRC_DIR/core/src/result.rs:LL:COL
|
= note: similarly named tuple variant `Ok` defined here
|
= note: this error originates in the macro `parent_source_spans` which comes from the expansion of the macro `three` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 21 previous errors
For more information about this error, try `rustc --explain E0425`.