Sign in
fuchsia
/
third_party
/
rust
/
846ea58cd5ae1c8d72e55dd6cf1ee35ffbca3d63
/
.
/
src
/
test
/
ui
/
issues
/
issue-21622.rs
blob: 2b80f2f36c5ad1754b3f0ad7348abc81d40bdfe8 [
file
] [
log
] [
blame
]
// compile-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
()
{}