Skip to content

Commit 0e4cc84

Browse files
committed
Update compile tests
1 parent 6d98d69 commit 0e4cc84

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ branches:
1818

1919
matrix:
2020
include:
21-
- rust: nightly-2020-03-12
21+
- rust: nightly-2020-07-26
2222
# - rust: beta
2323
- rust: stable
2424
env: ARCH=i686

tests/compile-fail/getable-reference-str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ fn main() {
1818
let vm = new_vm();
1919
add_extern_module(&vm, "test", |vm| {
2020
ExternModule::new(vm, primitive!(1, f))
21-
//~^ cannot infer an appropriate lifetime for lifetime parameter `'vm` due to conflicting requirements
21+
//~^ `thread` has lifetime `'thread` but it needs to satisfy a `'static` lifetime requirement
2222
});
2323
}

tests/compile-fail/getable-reference.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ fn main() {
3030
let vm = new_vm();
3131
add_extern_module(&vm, "test", |vm| {
3232
ExternModule::new(vm, primitive!(1, f))
33-
//~^ cannot infer an appropriate lifetime for lifetime parameter `'vm` due to conflicting requirements
33+
//~^ `thread` has lifetime `'thread` but it needs to satisfy a `'static` lifetime requirement
3434
});
3535
}

tests/compile-fail/store-ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ fn main() {
4141
let vm = new_vm();
4242
add_extern_module(&vm, "test", |vm| {
4343
ExternModule::new(vm, primitive!(2, f))
44-
//~^ cannot infer an appropriate lifetime for lifetime parameter `'vm` due to conflicting requirements
44+
//~^ `thread` has lifetime `'thread` but it needs to satisfy a `'static` lifetime requirement
4545
});
4646
}

0 commit comments

Comments
 (0)