Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues-71798.rs
blob: fecba721ac9fdeb101053fd43ce0b7e2789ee00e [
file
] [
log
] [
blame
]
fn
test_ref
(
x
:
&
u32
)
->
impl
std
::
future
::
Future
<
Output
=
u32
>
+
'
_
{
*
x
//~^ ERROR `u32` is not a future
}
fn
main
()
{
let
_
=
test_ref
&
u
;
//~ ERROR cannot find value `u` in this scope
}