]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/bound/auxiliary/on_structs_and_enums_xc.rs
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / ui / traits / bound / auxiliary / on_structs_and_enums_xc.rs
1 pub trait Trait {
2     fn dummy(&self) { }
3 }
4
5 pub struct Foo<T:Trait> {
6     pub x: T,
7 }
8
9 pub enum Bar<T:Trait> {
10     ABar(isize),
11     BBar(T),
12     CBar(usize),
13 }