ICE when trying to access shared-access-boxed vector in iface impl #2926
Labels
A-lifetimes
Area: Lifetimes / regions
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
For the following code:
rustc-0.3 produces an ICE:
This is not happens with unique boxes (
~[mut 1,2,3]
/for ~[mut T]
)Also tested on git snapshot (
rustc 0.3 (6081eb7 2012-07-15 05:41:24 -0700)
) -- same thing, except i had to changestr
to~str
to make it not fail witherror: bare 'str' is not a type
The text was updated successfully, but these errors were encountered: