]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22434.rs
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-22434.rs
1 pub trait Foo {
2     type A;
3 }
4
5 type I<'a> = &'a (dyn Foo + 'a);
6 //~^ ERROR the value of the associated type `A` (from trait `Foo`) must be specified
7
8 fn main() {}