Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
issue-21950.rs
blob: 7a85ac91bca0f9137af725205eace9640152c19a [
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 E0191
}