mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 05:04:23 +00:00
16 lines
208 B
Rust
16 lines
208 B
Rust
//@ run-pass
|
|
#![allow(unused_imports)]
|
|
//@ aux-build:coherence_lib.rs
|
|
|
|
|
|
extern crate coherence_lib as lib;
|
|
use lib::Remote1;
|
|
|
|
pub trait Local {
|
|
fn foo(&self) { }
|
|
}
|
|
|
|
impl<T> Local for T { }
|
|
|
|
fn main() { }
|