mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +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() {}
|