Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
suggestions
/
suggest-box.fixed
blob: 7cd62c43183475747461f9acc8ff4898b5097f3f [
file
] [
log
] [
blame
] [
edit
]
//@ run-rustfix
fn main
()
{
let
_x
:
Box
<
dyn
Fn
()
->
Result
<(),
()>>
=
Box
::
new
(||
{
//~ ERROR mismatched types
Err
(())?;
Ok
(())
});
}