Sign in
fuchsia
/
third_party
/
rust
/
2a3e17c6d5c49eeb770ade2fa660f98e9cce0ce0
/
.
/
tests
/
ui
/
consts
/
self_normalization.rs
blob: 245f22a4955470fd70160b2c0ea09679cad446fa [
file
] [
log
] [
blame
]
//@ check-pass
fn
testfn
(
_arr
:
&
mut
[();
0
])
{}
trait
TestTrait
{
fn
method
();
}
impl
TestTrait
for
[();
0
]
{
fn
method
()
{
let
mut
arr
:
Self
=
[();
0
];
testfn
(&
mut
arr
);
}
}
fn
main
()
{}