summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/typeck-default-trait-impl-assoc-type.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/typeck/typeck-default-trait-impl-assoc-type.rs')
-rw-r--r--src/test/ui/typeck/typeck-default-trait-impl-assoc-type.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/typeck/typeck-default-trait-impl-assoc-type.rs b/src/test/ui/typeck/typeck-default-trait-impl-assoc-type.rs
deleted file mode 100644
index bafc16577..000000000
--- a/src/test/ui/typeck/typeck-default-trait-impl-assoc-type.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// run-rustfix
-// Test that we do not consider associated types to be sendable without
-// some applicable trait bound (and we don't ICE).
-#![allow(dead_code)]
-
-trait Trait {
- type AssocType;
- fn dummy(&self) { }
-}
-fn bar<T:Trait+Send>() {
- is_send::<T::AssocType>(); //~ ERROR E0277
-}
-
-fn is_send<T:Send>() {
-}
-
-fn main() { }