Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
ui
/
impl-trait
/
universal-two-impl-traits.rs
blob: 1ed47d8f49ead28adf602da2173062bbf50b4744 [
file
] [
log
] [
blame
]
use
std
::
fmt
::
Debug
;
fn
foo
(
x
:
impl
Debug
,
y
:
impl
Debug
)
->
String
{
let
mut
a
=
x
;
a
=
y
;
//~ ERROR mismatched
format
!(
"{:?}"
,
a
)
}
fn
main
()
{
}