Skip to content

Commit fead458

Browse files
Fix tests after rebase
1 parent 07ad64f commit fead458

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/ui/associated-const/defaults-cyclic-fail.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ note: ...which requires const-evaluating `Tr::B`...
1010
LL | const B: u8 = Self::A;
1111
| ^^^^^^^
1212
= note: ...which again requires const-evaluating `Tr::A`, completing the cycle
13-
note: cycle used when processing `main`
13+
note: cycle used when const-evaluating `main`
1414
--> $DIR/defaults-cyclic-fail.rs:16:16
1515
|
1616
LL | assert_eq!(<() as Tr>::A, 0);

src/test/ui/associated-const/defaults-not-assumed-fail.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | const B: u8 = Self::A + 1;
66
| |
77
| attempt to add with overflow
88
|
9-
= note: #[deny(const_err)] on by default
9+
= note: `#[deny(const_err)]` on by default
1010

1111
error[E0080]: evaluation of constant expression failed
1212
--> $DIR/defaults-not-assumed-fail.rs:33:5

src/test/ui/associated-types/issue-54182-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-pass
1+
// check-pass
22

33
// Before RFC 2532, normalizing a defaulted assoc. type didn't work at all,
44
// unless the impl in question overrides that type, which makes the default

0 commit comments

Comments
 (0)