Skip to content

Commit f571b95

Browse files
committed
Update ui tests
1 parent a43ccb0 commit f571b95

6 files changed

+2
-7
lines changed

src/test/ui/consts/const-eval/const-eval-overflow-3b.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error[E0308]: mismatched types
2-
--> $DIR/const-eval-overflow-3b.rs:24:22
2+
--> $DIR/const-eval-overflow-3b.rs:18:22
33
|
44
LL | = [0; (i8::MAX + 1u8) as usize];
55
| ^^^ expected i8, found u8
66

77
error[E0277]: cannot add `u8` to `i8`
8-
--> $DIR/const-eval-overflow-3b.rs:24:20
8+
--> $DIR/const-eval-overflow-3b.rs:18:20
99
|
1010
LL | = [0; (i8::MAX + 1u8) as usize];
1111
| ^ no implementation for `i8 + u8`

src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.fixed

-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ fn main() {
2323
// But this should be a use of the (renamed) crate:
2424
crate::bar::foo();
2525
}
26-

src/test/ui/rust-2018/extern-crate-idiomatic.fixed

-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ use edition_lint_paths::foo;
1616
fn main() {
1717
foo();
1818
}
19-

src/test/ui/rust-2018/extern-crate-referenced-by-self-path.fixed

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ use self::edition_lint_paths::foo;
1515
fn main() {
1616
foo();
1717
}
18-

src/test/ui/rust-2018/extern-crate-rename.fixed

-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ use crate::my_crate::foo;
1616
fn main() {
1717
foo();
1818
}
19-

src/test/ui/rust-2018/extern-crate-submod.fixed

-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ use crate::m::edition_lint_paths::foo;
2323
fn main() {
2424
foo();
2525
}
26-

0 commit comments

Comments
 (0)