From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/stdlib-unit-tests/not-sync.stderr | 81 --------------------------- 1 file changed, 81 deletions(-) delete mode 100644 src/test/ui/stdlib-unit-tests/not-sync.stderr (limited to 'src/test/ui/stdlib-unit-tests/not-sync.stderr') diff --git a/src/test/ui/stdlib-unit-tests/not-sync.stderr b/src/test/ui/stdlib-unit-tests/not-sync.stderr deleted file mode 100644 index 1ee358ba8..000000000 --- a/src/test/ui/stdlib-unit-tests/not-sync.stderr +++ /dev/null @@ -1,81 +0,0 @@ -error[E0277]: `Cell` cannot be shared between threads safely - --> $DIR/not-sync.rs:8:12 - | -LL | test::>(); - | ^^^^^^^^^ `Cell` cannot be shared between threads safely - | - = help: the trait `Sync` is not implemented for `Cell` -note: required by a bound in `test` - --> $DIR/not-sync.rs:5:12 - | -LL | fn test() {} - | ^^^^ required by this bound in `test` - -error[E0277]: `RefCell` cannot be shared between threads safely - --> $DIR/not-sync.rs:10:12 - | -LL | test::>(); - | ^^^^^^^^^^^^ `RefCell` cannot be shared between threads safely - | - = help: the trait `Sync` is not implemented for `RefCell` -note: required by a bound in `test` - --> $DIR/not-sync.rs:5:12 - | -LL | fn test() {} - | ^^^^ required by this bound in `test` - -error[E0277]: `Rc` cannot be shared between threads safely - --> $DIR/not-sync.rs:13:12 - | -LL | test::>(); - | ^^^^^^^ `Rc` cannot be shared between threads safely - | - = help: the trait `Sync` is not implemented for `Rc` -note: required by a bound in `test` - --> $DIR/not-sync.rs:5:12 - | -LL | fn test() {} - | ^^^^ required by this bound in `test` - -error[E0277]: `std::rc::Weak` cannot be shared between threads safely - --> $DIR/not-sync.rs:15:12 - | -LL | test::>(); - | ^^^^^^^^^ `std::rc::Weak` cannot be shared between threads safely - | - = help: the trait `Sync` is not implemented for `std::rc::Weak` -note: required by a bound in `test` - --> $DIR/not-sync.rs:5:12 - | -LL | fn test() {} - | ^^^^ required by this bound in `test` - -error[E0277]: `std::sync::mpsc::Receiver` cannot be shared between threads safely - --> $DIR/not-sync.rs:18:12 - | -LL | test::>(); - | ^^^^^^^^^^^^^ `std::sync::mpsc::Receiver` cannot be shared between threads safely - | - = help: the trait `Sync` is not implemented for `std::sync::mpsc::Receiver` -note: required by a bound in `test` - --> $DIR/not-sync.rs:5:12 - | -LL | fn test() {} - | ^^^^ required by this bound in `test` - -error[E0277]: `Sender` cannot be shared between threads safely - --> $DIR/not-sync.rs:20:12 - | -LL | test::>(); - | ^^^^^^^^^^^ `Sender` cannot be shared between threads safely - | - = help: the trait `Sync` is not implemented for `Sender` -note: required by a bound in `test` - --> $DIR/not-sync.rs:5:12 - | -LL | fn test() {} - | ^^^^ required by this bound in `test` - -error: aborting due to 6 previous errors - -For more information about this error, try `rustc --explain E0277`. -- cgit v1.2.3