Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
methods
/
dont-ice-on-object-lookup-w-error-region.rs
blob: 0a6d196364f9dd860f8986d841ae6c56ccd5d3f0 [
file
] [
log
] [
blame
] [
edit
]
// Fix for issue: #122914
use
std
::
future
::
Future
;
use
std
::
pin
::
Pin
;
fn
project
(
x
:
Pin
<&
'
missing
mut
dyn
Future
<
Output
=
()>>)
{
//~^ ERROR use of undeclared lifetime name `'missing`
let
_
=
x
.
poll
(
todo
!());
}
fn
main
()
{}