Sign in
fuchsia
/
third_party
/
rust
/
1e3b57ee7754702ce9fcef73686b5bcee405dd4a
/
.
/
src
/
test
/
ui
/
issues
/
issue-2951.rs
blob: e0ae3ffa6240d39d64afcac24bfc3137f4c5fc32 [
file
] [
log
] [
blame
]
fn
foo
<
T
,
U
>(
x
:
T
,
y
:
U
)
{
let
mut
xx
=
x
;
xx
=
y
;
//~^ ERROR mismatched types
//~| expected type `T`
//~| found type `U`
//~| expected type parameter, found a different type parameter
}
fn
main
()
{
}