rust/tests/ui/coherence/coherence-iterator-vec-any-elem.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
224 B
Rust
Raw Normal View History

//@ run-pass
#![allow(dead_code)]
//@ aux-build:coherence_lib.rs
//@ pretty-expanded FIXME #23616
extern crate coherence_lib as lib;
use lib::Remote1;
struct Foo<T>(T);
impl<T,U> Remote1<U> for Foo<T> { }
fn main() { }