summaryrefslogtreecommitdiffstats
path: root/tests/ui/stdlib-unit-tests/not-sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/stdlib-unit-tests/not-sync.rs')
-rw-r--r--tests/ui/stdlib-unit-tests/not-sync.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/stdlib-unit-tests/not-sync.rs b/tests/ui/stdlib-unit-tests/not-sync.rs
index f4648994f..e9395ae9e 100644
--- a/tests/ui/stdlib-unit-tests/not-sync.rs
+++ b/tests/ui/stdlib-unit-tests/not-sync.rs
@@ -17,6 +17,4 @@ fn main() {
test::<Receiver<i32>>();
//~^ ERROR `std::sync::mpsc::Receiver<i32>` cannot be shared between threads safely [E0277]
- test::<Sender<i32>>();
- //~^ ERROR `Sender<i32>` cannot be shared between threads safely [E0277]
}