Fix tests after rebase

This commit is contained in:
Jonas Schievink 2019-08-29 12:37:41 +02:00
parent 07ad64f70f
commit fead45815c
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ note: ...which requires const-evaluating `Tr::B`...
LL | const B: u8 = Self::A;
| ^^^^^^^
= note: ...which again requires const-evaluating `Tr::A`, completing the cycle
note: cycle used when processing `main`
note: cycle used when const-evaluating `main`
--> $DIR/defaults-cyclic-fail.rs:16:16
|
LL | assert_eq!(<() as Tr>::A, 0);

View file

@ -6,7 +6,7 @@ LL | const B: u8 = Self::A + 1;
| |
| attempt to add with overflow
|
= note: #[deny(const_err)] on by default
= note: `#[deny(const_err)]` on by default
error[E0080]: evaluation of constant expression failed
--> $DIR/defaults-not-assumed-fail.rs:33:5

View file

@ -1,4 +1,4 @@
// compile-pass
// check-pass
// Before RFC 2532, normalizing a defaulted assoc. type didn't work at all,
// unless the impl in question overrides that type, which makes the default