Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
4b3ece475d6e77465a30c8b53d7e1e9e861e4b79
/
.
/
tests
/
ui
/
traits
/
issue-38404.rs
blob: 05921b2c36e46e16e0c940ee6ff480b9129b2c89 [
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
//~| ERROR the trait `B` cannot be made into an object
fn
main
()
{}