mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
12 lines
203 B
Rust
12 lines
203 B
Rust
//@ aux-build:complex_impl_support.rs
|
|
|
|
extern crate complex_impl_support;
|
|
|
|
use complex_impl_support::{External, M};
|
|
|
|
struct Q;
|
|
|
|
impl<R> External for (Q, R) {} //~ ERROR only traits defined
|
|
|
|
fn main() {}
|