Skip to content

Commit 86f12c1

Browse files
test fallout
1 parent a06baa5 commit 86f12c1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/test/ui/async-await/issues/issue-62009-1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ LL | (|_| 2333).await;
3535
|
3636
::: $SRC_DIR/libstd/future.rs:LL:COL
3737
|
38-
LL | F: Future
38+
LL | F: Future,
3939
| ------ required by this bound in `std::future::poll_with_tls_context`
4040

4141
error: aborting due to 4 previous errors

src/test/ui/closures/closure-move-sync.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ LL | let t = thread::spawn(|| {
66
|
77
::: $SRC_DIR/libstd/thread/mod.rs:LL:COL
88
|
9-
LL | F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
10-
| ---- required by this bound in `std::thread::spawn`
9+
LL | F: Send + 'static,
10+
| ---- required by this bound in `std::thread::spawn`
1111
|
1212
= help: the trait `std::marker::Sync` is not implemented for `std::sync::mpsc::Receiver<()>`
1313
= note: required because of the requirements on the impl of `std::marker::Send` for `&std::sync::mpsc::Receiver<()>`
@@ -21,8 +21,8 @@ LL | thread::spawn(|| tx.send(()).unwrap());
2121
|
2222
::: $SRC_DIR/libstd/thread/mod.rs:LL:COL
2323
|
24-
LL | F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
25-
| ---- required by this bound in `std::thread::spawn`
24+
LL | F: Send + 'static,
25+
| ---- required by this bound in `std::thread::spawn`
2626
|
2727
= help: the trait `std::marker::Sync` is not implemented for `std::sync::mpsc::Sender<()>`
2828
= note: required because of the requirements on the impl of `std::marker::Send` for `&std::sync::mpsc::Sender<()>`

src/test/ui/no-send-res-ports.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ LL | thread::spawn(move|| {
66
|
77
::: $SRC_DIR/libstd/thread/mod.rs:LL:COL
88
|
9-
LL | F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
10-
| ---- required by this bound in `std::thread::spawn`
9+
LL | F: Send + 'static,
10+
| ---- required by this bound in `std::thread::spawn`
1111
|
1212
= help: within `[closure@$DIR/no-send-res-ports.rs:26:19: 30:6 x:main::Foo]`, the trait `std::marker::Send` is not implemented for `std::rc::Rc<()>`
1313
= note: required because it appears within the type `Port<()>`

src/test/ui/type_length_limit.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
error: reached the type-length limit while instantiating `std::mem::drop::<std::option::Op... G), (G, G, G), (G, G, G))))))>>`
22
--> $SRC_DIR/libcore/mem/mod.rs:LL:COL
33
|
4-
LL | pub fn drop<T>(_x: T) { }
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^
4+
LL | pub fn drop<T>(_x: T) {}
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^
66
|
77
= note: consider adding a `#![type_length_limit="1094"]` attribute to your crate
88

0 commit comments

Comments
 (0)