rust/tests/ui/issues/issue-22434.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
163 B
Rust
Raw Normal View History

2016-06-18 22:43:44 +00:00
pub trait Foo {
type A;
}
2019-05-28 18:46:13 +00:00
type I<'a> = &'a (dyn Foo + 'a);
//~^ ERROR the value of the associated type `A` (from trait `Foo`) must be specified
2016-06-18 22:43:44 +00:00
fn main() {}