rust/tests/ui/coherence/coherence-blanket.rs

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

17 lines
238 B
Rust
Raw Normal View History

// run-pass
#![allow(unused_imports)]
// aux-build:coherence_lib.rs
// pretty-expanded FIXME #23616
extern crate coherence_lib as lib;
use lib::Remote1;
pub trait Local {
fn foo(&self) { }
}
impl<T> Local for T { }
fn main() { }