Skip to content

Commit 99a13db

Browse files
committed
fulldeps tests
1 parent e3e03ee commit 99a13db

File tree

5 files changed

+19
-1
lines changed

5 files changed

+19
-1
lines changed

tests/ui-fulldeps/rustc-dev-remap.only-remap.stderr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ help: the following other types implement trait `VisitorResult`
1818
= note: `ControlFlow<T>`
1919
note: 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

2326
error: aborting due to 1 previous error

tests/ui-fulldeps/rustc-dev-remap.remap-unremap.stderr

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ LL | impl<T> VisitorResult for ControlFlow<T> {
2020
note: 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+
...
2326
LL | 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

2730
error: aborting due to 1 previous error

tests/ui-fulldeps/session-diagnostic/diagnostic-derive-doc-comment-field.stderr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ LL | struct NotIntoDiagArg;
1515
= help: normalized in stderr
1616
note: 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

2023
error[E0277]: the trait bound `NotIntoDiagArg: IntoDiagArg` is not satisfied
@@ -34,6 +37,9 @@ LL | struct NotIntoDiagArg;
3437
= help: normalized in stderr
3538
note: 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

3945
error: aborting due to 2 previous errors

tests/ui-fulldeps/session-diagnostic/diagnostic-derive.stderr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,9 @@ LL | struct Hello {}
647647
= help: normalized in stderr
648648
note: 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

652655
error: aborting due to 85 previous errors

tests/ui/stdlib-unit-tests/atomic-from-mut-not-available.alignment_mismatch.stderr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ LL | core::sync::atomic::AtomicU64::from_mut(&mut 0u64);
66
|
77
note: if you're trying to build a new `AtomicU64`, consider using `AtomicU64::new` which returns `AtomicU64`
88
--> $SRC_DIR/core/src/sync/atomic.rs:LL:COL
9+
::: $SRC_DIR/core/src/sync/atomic.rs:LL:COL
10+
|
11+
= note: in this macro invocation
912
= note: this error originates in the macro `atomic_int` (in Nightly builds, run with -Z macro-backtrace for more info)
1013
help: there is an associated function `from` with a similar name
1114
|

0 commit comments

Comments
 (0)