diff options
Diffstat (limited to 'src/test/ui/coherence/coherence-vec-local-2.rs')
-rw-r--r-- | src/test/ui/coherence/coherence-vec-local-2.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/coherence/coherence-vec-local-2.rs b/src/test/ui/coherence/coherence-vec-local-2.rs deleted file mode 100644 index 47df06bac..000000000 --- a/src/test/ui/coherence/coherence-vec-local-2.rs +++ /dev/null @@ -1,14 +0,0 @@ -// Test that a local, generic type appearing within a -// *non-fundamental* remote type like `Vec` is not considered local. - -// aux-build:coherence_lib.rs - -extern crate coherence_lib as lib; -use lib::Remote; - -struct Local<T>(T); - -impl<T> Remote for Vec<Local<T>> { } -//~^ ERROR E0117 - -fn main() { } |