Skip to content

Commit

Permalink
Update ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Apr 22, 2019
1 parent a43ccb0 commit f571b95
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/consts/const-eval/const-eval-overflow-3b.stderr
@@ -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`
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/rust-2018/extern-crate-idiomatic-in-2018.fixed
Expand Up @@ -23,4 +23,3 @@ fn main() {
// But this should be a use of the (renamed) crate:
crate::bar::foo();
}

1 change: 0 additions & 1 deletion src/test/ui/rust-2018/extern-crate-idiomatic.fixed
Expand Up @@ -16,4 +16,3 @@ use edition_lint_paths::foo;
fn main() {
foo();
}

Expand Up @@ -15,4 +15,3 @@ use self::edition_lint_paths::foo;
fn main() {
foo();
}

1 change: 0 additions & 1 deletion src/test/ui/rust-2018/extern-crate-rename.fixed
Expand Up @@ -16,4 +16,3 @@ use crate::my_crate::foo;
fn main() {
foo();
}

1 change: 0 additions & 1 deletion src/test/ui/rust-2018/extern-crate-submod.fixed
Expand Up @@ -23,4 +23,3 @@ use crate::m::edition_lint_paths::foo;
fn main() {
foo();
}

0 comments on commit f571b95

Please sign in to comment.