Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-21622.rs
blob: 2d4cddac9117fdb0d8f66ed541a5d1434f37899b [
file
] [
log
] [
blame
]
// check-pass
#![
allow
(
dead_code
)]
#![
allow
(
unused_variables
)]
struct
Index
;
impl
Index
{
fn
new
()
->
Self
{
Index
}
}
fn
user
()
{
let
new
=
Index
::
new
;
fn
inner
()
{
let
index
=
Index
::
new
();
}
let
index2
=
new
();
}
fn
main
()
{}