This website requires JavaScript.
Explore
Sign In
mirror
/
rust
mirror of
https://github.com/rust-lang/rust
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
issues
/
issue-41604.rs
12 lines
116 B
Rust
Raw
Permalink
Blame
History
//@ run-pass
struct
B
;
impl
B
{
fn
init
(
&
mut
self
)
{
}
}
fn
main
(
)
{
let
mut
b
=
[
B
]
;
b
[
1
-
1
]
.
init
(
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink