]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/unable-fulfill-trait.rs
Rollup merge of #105147 - nbdd0121:inline_const_unsafe, r=oli-obk
[rust.git] / src / test / 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 {}