about summary refs log tree commit diff
path: root/tests/ui/coherence/coherence-iterator-vec-any-elem.rs
blob: 1e43595d1eb18661a6102959f1ff65d0d99fcf64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ run-pass
#![allow(dead_code)]
//@ aux-build:coherence_lib.rs


extern crate coherence_lib as lib;
use lib::Remote1;

struct Foo<T>(T);

impl<T,U> Remote1<U> for Foo<T> { }

fn main() { }