Skip to content

Commit 6ae4798

Browse files
committed
updated stderr
1 parent 8e5ed3c commit 6ae4798

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
$DIR/error-format-short.rs:8:9: error[E0308]: mismatched types: expected `u32`, found `String`
2-
$DIR/error-format-short.rs:10:7: error[E0599]: no method named `salut` found for type `u32` in the current scope: method not found in `u32`
1+
$DIR/error-format-short.rs:9:9: error[E0308]: mismatched types: expected `u32`, found `String`
2+
$DIR/error-format-short.rs:11:7: error[E0599]: no method named `salut` found for type `u32` in the current scope: method not found in `u32`
33
error: aborting due to 2 previous errors

tests/ui/drop/drop-once-on-move.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//! operations, and their `Drop` implementation is called exactly once when the
33
//! value goes out of scope.
44
5+
//@ run-pass
6+
57
#![allow(non_camel_case_types)]
68
use std::cell::Cell;
79

tests/ui/drop/drop-scope-exit.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! Check that the `Drop` implementation is called when a value goes out of scope.
22
3+
//@ run-pass
4+
35
#![allow(non_camel_case_types)]
46
use std::cell::Cell;
57

tests/ui/sync/atomic-types-not-copyable.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0507]: cannot move out of a shared reference
2-
--> $DIR/atomic-types-not-copyable.rs:10:13
2+
--> $DIR/atomic-types-not-copyable.rs:11:13
33
|
44
LL | let x = *&x;
55
| ^^^ move occurs because value has type `std::sync::atomic::AtomicBool`, which does not implement the `Copy` trait
@@ -11,7 +11,7 @@ LL + let x = &x;
1111
|
1212

1313
error[E0507]: cannot move out of a shared reference
14-
--> $DIR/atomic-types-not-copyable.rs:12:13
14+
--> $DIR/atomic-types-not-copyable.rs:13:13
1515
|
1616
LL | let x = *&x;
1717
| ^^^ move occurs because value has type `std::sync::atomic::AtomicIsize`, which does not implement the `Copy` trait
@@ -23,7 +23,7 @@ LL + let x = &x;
2323
|
2424

2525
error[E0507]: cannot move out of a shared reference
26-
--> $DIR/atomic-types-not-copyable.rs:14:13
26+
--> $DIR/atomic-types-not-copyable.rs:15:13
2727
|
2828
LL | let x = *&x;
2929
| ^^^ move occurs because value has type `std::sync::atomic::AtomicUsize`, which does not implement the `Copy` trait
@@ -35,7 +35,7 @@ LL + let x = &x;
3535
|
3636

3737
error[E0507]: cannot move out of a shared reference
38-
--> $DIR/atomic-types-not-copyable.rs:16:13
38+
--> $DIR/atomic-types-not-copyable.rs:17:13
3939
|
4040
LL | let x = *&x;
4141
| ^^^ move occurs because value has type `std::sync::atomic::AtomicPtr<usize>`, which does not implement the `Copy` trait

0 commit comments

Comments
 (0)