]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/issue-40093.rs
Rollup merge of #79399 - pickfire:patch-3, r=JohnTitor
[rust.git] / src / test / ui / associated-types / issue-40093.rs
1 // check-pass
2
3 pub trait Test {
4     type Item;
5     type Bundle: From<Self::Item>;
6 }
7
8 fn fails<T>()
9 where
10     T: Test<Item = String>,
11 {
12 }
13
14 fn main() {}