Skip to content

Commit 10f3657

Browse files
committed
Adapt test results
1 parent 0b0027f commit 10f3657

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/test/ui/closures/2229_closure_analysis/migrations/mir_calls_to_shims.fixed

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#![deny(rust_2021_incompatible_closure_captures)]
55
//~^ NOTE: the lint level is defined here
6-
// ignore-wasm32-bare compiled with panic=abort by default
76
#![feature(fn_traits)]
87
#![feature(never_type)]
98

src/test/ui/closures/2229_closure_analysis/migrations/mir_calls_to_shims.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: changes to closure capture in Rust 2021 will affect which traits the closure implements
2-
--> $DIR/mir_calls_to_shims.rs:21:38
2+
--> $DIR/mir_calls_to_shims.rs:20:38
33
|
44
LL | let result = panic::catch_unwind(move || {
55
| ^^^^^^^

src/test/ui/panic-handler/weak-lang-item.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0259]: the name `core` is defined multiple times
2-
--> $DIR/weak-lang-item.rs:9:1
2+
--> $DIR/weak-lang-item.rs:8:1
33
|
44
LL | extern crate core;
55
| ^^^^^^^^^^^^^^^^^^ `core` reimported here

src/test/ui/unwind-abis/ffi-unwind-calls-lint.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
warning: call to foreign function with FFI-unwind ABI
2-
--> $DIR/ffi-unwind-calls-lint.rs:21:14
2+
--> $DIR/ffi-unwind-calls-lint.rs:20:14
33
|
44
LL | unsafe { foo(); }
55
| ^^^^^ call to foreign function with FFI-unwind ABI
66
|
77
note: the lint level is defined here
8-
--> $DIR/ffi-unwind-calls-lint.rs:6:9
8+
--> $DIR/ffi-unwind-calls-lint.rs:5:9
99
|
1010
LL | #![warn(ffi_unwind_calls)]
1111
| ^^^^^^^^^^^^^^^^
1212

1313
warning: call to function pointer with FFI-unwind ABI
14-
--> $DIR/ffi-unwind-calls-lint.rs:25:5
14+
--> $DIR/ffi-unwind-calls-lint.rs:24:5
1515
|
1616
LL | ptr();
1717
| ^^^^^ call to function pointer with FFI-unwind ABI

0 commit comments

Comments
 (0)