mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 12:37:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
14 lines
189 B
Rust
14 lines
189 B
Rust
//@ 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> Remote1<T> for Foo<T> { }
|
|
|
|
fn main() { }
|