mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
15 lines
235 B
Rust
15 lines
235 B
Rust
//@ aux-build:on_structs_and_enums_xc.rs
|
|
|
|
extern crate on_structs_and_enums_xc;
|
|
|
|
use on_structs_and_enums_xc::{Bar, Foo, Trait};
|
|
|
|
fn explode(x: Foo<usize>) {}
|
|
//~^ ERROR E0277
|
|
|
|
fn kaboom(y: Bar<f32>) {}
|
|
//~^ ERROR E0277
|
|
|
|
fn main() {
|
|
}
|