mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
17 lines
241 B
Rust
17 lines
241 B
Rust
//@ 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() { }
|