Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-21950.rs
blob: 72a98bd8ddd8a7ba9f9aefc8cbc86b4e82102e63 [
file
] [
log
] [
blame
]
trait
Add
<
Rhs
=
Self
>
{
type
Output
;
}
impl
Add
for
i32
{
type
Output
=
i32
;
}
fn
main
()
{
let
x
=
&
10
as
&
dyn
Add
;
//~^ ERROR E0393
//~| ERROR E0191
}