Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
traits
/
issue-38404.rs
blob: 1a92acc34042b0f8f9f0b3f440a0e81ede2dfe78 [
file
] [
log
] [
blame
]
trait
A
<
T
>:
std
::
ops
::
Add
<
Self
>
+
Sized
{}
trait
B
<
T
>:
A
<
T
>
{}
trait
C
<
T
>:
A
<
dyn B
<
T
,
Output
=
usize
>>
{}
//~^ ERROR the trait `B` cannot be made into an object
fn
main
()
{}