Update ui tests
This commit is contained in:
parent
a43ccb0b9b
commit
f571b9548d
|
@ -1,11 +1,11 @@
|
|||
error[E0308]: mismatched types
|
||||
--> $DIR/const-eval-overflow-3b.rs:24:22
|
||||
--> $DIR/const-eval-overflow-3b.rs:18:22
|
||||
|
|
||||
LL | = [0; (i8::MAX + 1u8) as usize];
|
||||
| ^^^ expected i8, found u8
|
||||
|
||||
error[E0277]: cannot add `u8` to `i8`
|
||||
--> $DIR/const-eval-overflow-3b.rs:24:20
|
||||
--> $DIR/const-eval-overflow-3b.rs:18:20
|
||||
|
|
||||
LL | = [0; (i8::MAX + 1u8) as usize];
|
||||
| ^ no implementation for `i8 + u8`
|
||||
|
|
|
@ -23,4 +23,3 @@ fn main() {
|
|||
// But this should be a use of the (renamed) crate:
|
||||
crate::bar::foo();
|
||||
}
|
||||
|
||||
|
|
|
@ -16,4 +16,3 @@ use edition_lint_paths::foo;
|
|||
fn main() {
|
||||
foo();
|
||||
}
|
||||
|
||||
|
|
|
@ -15,4 +15,3 @@ use self::edition_lint_paths::foo;
|
|||
fn main() {
|
||||
foo();
|
||||
}
|
||||
|
||||
|
|
|
@ -16,4 +16,3 @@ use crate::my_crate::foo;
|
|||
fn main() {
|
||||
foo();
|
||||
}
|
||||
|
||||
|
|
|
@ -23,4 +23,3 @@ use crate::m::edition_lint_paths::foo;
|
|||
fn main() {
|
||||
foo();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue