diff --git a/src/test/ui/async-await/issues/issue-62009-1.stderr b/src/test/ui/async-await/issues/issue-62009-1.stderr index 6c8e0d0a5c40..3a49a5a97de3 100644 --- a/src/test/ui/async-await/issues/issue-62009-1.stderr +++ b/src/test/ui/async-await/issues/issue-62009-1.stderr @@ -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 diff --git a/src/test/ui/closures/closure-move-sync.stderr b/src/test/ui/closures/closure-move-sync.stderr index ac5e3ccb4218..dcef16dff4ce 100644 --- a/src/test/ui/closures/closure-move-sync.stderr +++ b/src/test/ui/closures/closure-move-sync.stderr @@ -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<()>` diff --git a/src/test/ui/no-send-res-ports.stderr b/src/test/ui/no-send-res-ports.stderr index f23a3bf832ab..9dbe81db0b50 100644 --- a/src/test/ui/no-send-res-ports.stderr +++ b/src/test/ui/no-send-res-ports.stderr @@ -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<()>` diff --git a/src/test/ui/type_length_limit.stderr b/src/test/ui/type_length_limit.stderr index 7e308f107ba0..8a9ef993bdac 100644 --- a/src/test/ui/type_length_limit.stderr +++ b/src/test/ui/type_length_limit.stderr @@ -1,8 +1,8 @@ error: reached the type-length limit while instantiating `std::mem::drop::>` --> $SRC_DIR/libcore/mem/mod.rs:LL:COL | -LL | pub fn drop(_x: T) { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^ +LL | pub fn drop(_x: T) {} + | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: consider adding a `#![type_length_limit="1094"]` attribute to your crate