]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/unable-fulfill-trait.rs
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / rustdoc-ui / unable-fulfill-trait.rs
1 // This test ensures that it's not crashing rustdoc.
2
3 pub struct Foo<'a, 'b, T> {
4     field1: dyn Bar<'a, 'b,>,
5     //~^ ERROR
6     //~^^ ERROR
7 }
8
9 pub trait Bar<'x, 's, U>
10     where U: 'x,
11     Self:'x,
12     Self:'s
13 {}