Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
rustdoc-ui
/
unable-fulfill-trait.rs
blob: 10887ab190302f9bb8670d31548a667b1369b724 [
file
] [
log
] [
blame
]
// This test ensures that it's not crashing rustdoc.
pub
struct
Foo
<
'a, '
b
,
T
>
{
field1
:
dyn
Bar
<
'a, '
b
,>,
//~^ ERROR
//~| ERROR
//~| ERROR
}
pub
trait
Bar
<
'x, '
s
,
U
>
where U
:
'
x
,
Self
:
'
x
,
Self
:
'
s
{}