1
Fork 0

test fallout

This commit is contained in:
Mark Rousskov 2019-12-22 19:04:10 -05:00
parent a06baa56b9
commit 86f12c110b
4 changed files with 9 additions and 9 deletions

View file

@ -35,7 +35,7 @@ LL | (|_| 2333).await;
|
::: $SRC_DIR/libstd/future.rs:LL:COL
|
LL | F: Future
LL | F: Future,
| ------ required by this bound in `std::future::poll_with_tls_context`
error: aborting due to 4 previous errors

View file

@ -6,8 +6,8 @@ LL | let t = thread::spawn(|| {
|
::: $SRC_DIR/libstd/thread/mod.rs:LL:COL
|
LL | F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
| ---- required by this bound in `std::thread::spawn`
LL | F: Send + 'static,
| ---- required by this bound in `std::thread::spawn`
|
= help: the trait `std::marker::Sync` is not implemented for `std::sync::mpsc::Receiver<()>`
= 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());
|
::: $SRC_DIR/libstd/thread/mod.rs:LL:COL
|
LL | F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
| ---- required by this bound in `std::thread::spawn`
LL | F: Send + 'static,
| ---- required by this bound in `std::thread::spawn`
|
= help: the trait `std::marker::Sync` is not implemented for `std::sync::mpsc::Sender<()>`
= note: required because of the requirements on the impl of `std::marker::Send` for `&std::sync::mpsc::Sender<()>`

View file

@ -6,8 +6,8 @@ LL | thread::spawn(move|| {
|
::: $SRC_DIR/libstd/thread/mod.rs:LL:COL
|
LL | F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
| ---- required by this bound in `std::thread::spawn`
LL | F: Send + 'static,
| ---- required by this bound in `std::thread::spawn`
|
= 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<()>`
= note: required because it appears within the type `Port<()>`

View file

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