]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/bound/on-structs-and-enums-xc.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / traits / bound / on-structs-and-enums-xc.rs
1 // aux-build:on_structs_and_enums_xc.rs
2
3 extern crate on_structs_and_enums_xc;
4
5 use on_structs_and_enums_xc::{Bar, Foo, Trait};
6
7 fn explode(x: Foo<usize>) {}
8 //~^ ERROR E0277
9
10 fn kaboom(y: Bar<f32>) {}
11 //~^ ERROR E0277
12
13 fn main() {
14 }