diff options
Diffstat (limited to 'src/test/ui/coherence/coherence-vec-local.rs')
-rw-r--r-- | src/test/ui/coherence/coherence-vec-local.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/coherence/coherence-vec-local.rs b/src/test/ui/coherence/coherence-vec-local.rs deleted file mode 100644 index 130cc39d0..000000000 --- a/src/test/ui/coherence/coherence-vec-local.rs +++ /dev/null @@ -1,14 +0,0 @@ -// Test that a local type (with no type parameters) 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; - -impl Remote for Vec<Local> { } -//~^ ERROR E0117 - -fn main() { } |