summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0277-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/error-codes/E0277-2.rs')
-rw-r--r--src/test/ui/error-codes/E0277-2.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/error-codes/E0277-2.rs b/src/test/ui/error-codes/E0277-2.rs
deleted file mode 100644
index 428518705..000000000
--- a/src/test/ui/error-codes/E0277-2.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-struct Foo {
- bar: Bar
-}
-
-struct Bar {
- baz: Baz
-}
-
-struct Baz {
- x: *const u8
-}
-
-fn is_send<T: Send>() { }
-
-fn main() {
- is_send::<Foo>();
- //~^ ERROR `*const u8` cannot be sent between threads safely
-}