Skip to content

Commit c7b0689

Browse files
author
The Miri Conjob Bot
committed
Merge from rustc
2 parents b413654 + 446113c commit c7b0689

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

tests/ui/crashes/ice-6252.stderr

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ help: you might be missing a type parameter
2424
LL | impl<N, M, VAL> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
2525
| +++++
2626

27-
error[E0046]: not all trait items implemented, missing: `VAL`
28-
--> $DIR/ice-6252.rs:11:1
29-
|
30-
LL | const VAL: T;
31-
| ------------ `VAL` from trait
32-
...
33-
LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
34-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `VAL` in implementation
35-
36-
error: aborting due to 3 previous errors
27+
error: aborting due to 2 previous errors
3728

38-
Some errors have detailed explanations: E0046, E0412.
39-
For more information about an error, try `rustc --explain E0046`.
29+
For more information about this error, try `rustc --explain E0412`.

tests/ui/enum_glob_use.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ mod in_fn_test {
1919
}
2020

2121
mod blurg {
22+
#[allow(unused_imports)]
2223
pub use std::cmp::Ordering::*; // ok, re-export
2324
}
2425

tests/ui/enum_glob_use.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ mod in_fn_test {
1919
}
2020

2121
mod blurg {
22+
#[allow(unused_imports)]
2223
pub use std::cmp::Ordering::*; // ok, re-export
2324
}
2425

0 commit comments

Comments
 (0)