test: Fix busted test. rs=bustage

This commit is contained in:
Patrick Walton 2012-12-06 14:53:21 -08:00
parent c5ee9818ae
commit 14a7be31bb

View File

@ -30,7 +30,7 @@ fn b() {
let q = &mut p; //~ NOTE prior loan as mutable granted here
p + 3; //~ ERROR loan of mutable local variable as immutable conflicts with prior loan
p + 3; // ok for pure fns
p.times(3); //~ ERROR loan of mutable local variable as immutable conflicts with prior loan
q.x += 1;