File tree Expand file tree Collapse file tree 4 files changed +16
-1
lines changed
Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ help: the following other types implement trait `VisitorResult`
1818 = note: `ControlFlow<T>`
1919note: required by a bound in `rustc_ast::visit::Visitor::Result`
2020 --> /rustc-dev/xyz/compiler/rustc_ast/src/visit.rs:LL:COL
21+ ::: /rustc-dev/xyz/compiler/rustc_ast/src/visit.rs:LL:COL
22+ |
23+ = note: in this macro invocation
2124 = note: this error originates in the macro `common_visitor_and_walkers` (in Nightly builds, run with -Z macro-backtrace for more info)
2225
2326error: aborting due to 1 previous error
Original file line number Diff line number Diff line change @@ -20,8 +20,11 @@ LL | impl<T> VisitorResult for ControlFlow<T> {
2020note: required by a bound in `rustc_ast::visit::Visitor::Result`
2121 --> $COMPILER_DIR_REAL/rustc_ast/src/visit.rs:LL:COL
2222 |
23+ LL | type Result: VisitorResult = ();
24+ | ^^^^^^^^^^^^^ required by this bound in `Visitor::Result`
25+ ...
2326LL | common_visitor_and_walkers!(Visitor<'a>);
24- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Visitor::Result`
27+ | ---------------------------------------- in this macro invocation
2528 = note: this error originates in the macro `common_visitor_and_walkers` (in Nightly builds, run with -Z macro-backtrace for more info)
2629
2730error: aborting due to 1 previous error
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ LL | struct NotIntoDiagArg;
1515 = help: normalized in stderr
1616note: required by a bound in `Diag::<'a, G>::arg`
1717 --> $COMPILER_DIR/rustc_errors/src/diagnostic.rs:LL:CC
18+ ::: $COMPILER_DIR/rustc_errors/src/diagnostic.rs:LL:CC
19+ |
20+ = note: in this macro invocation
1821 = note: this error originates in the macro `with_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
1922
2023error[E0277]: the trait bound `NotIntoDiagArg: IntoDiagArg` is not satisfied
@@ -34,6 +37,9 @@ LL | struct NotIntoDiagArg;
3437 = help: normalized in stderr
3538note: required by a bound in `Diag::<'a, G>::arg`
3639 --> $COMPILER_DIR/rustc_errors/src/diagnostic.rs:LL:CC
40+ ::: $COMPILER_DIR/rustc_errors/src/diagnostic.rs:LL:CC
41+ |
42+ = note: in this macro invocation
3743 = note: this error originates in the macro `with_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
3844
3945error: aborting due to 2 previous errors
Original file line number Diff line number Diff line change @@ -647,6 +647,9 @@ LL | struct Hello {}
647647 = help: normalized in stderr
648648note: required by a bound in `Diag::<'a, G>::arg`
649649 --> $COMPILER_DIR/rustc_errors/src/diagnostic.rs:LL:CC
650+ ::: $COMPILER_DIR/rustc_errors/src/diagnostic.rs:LL:CC
651+ |
652+ = note: in this macro invocation
650653 = note: this error originates in the macro `with_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
651654
652655error: aborting due to 85 previous errors
You can’t perform that action at this time.
0 commit comments