Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.165 kb
fn test() {
let v: int;
v = 2; //~ NOTE prior assignment occurs here
v += 1; //~ ERROR re-assignment of immutable variable
copy v;
}
fn main() {
}
Jump to Line
Something went wrong with that request. Please try again.