libstd: Remove a spurious @mut
from a disabled test
This commit is contained in:
parent
07bbc4133d
commit
84e977c355
1 changed files with 3 additions and 2 deletions
|
@ -377,9 +377,10 @@ mod test {
|
|||
let mut reader = ErroringLaterReader {
|
||||
count: 0,
|
||||
};
|
||||
let buf = @mut ~[8, 9];
|
||||
// FIXME (#7049): Figure out some other way to do this.
|
||||
//let buf = @mut ~[8, 9];
|
||||
(|| {
|
||||
reader.push_bytes(&mut *buf, 4);
|
||||
//reader.push_bytes(&mut *buf, 4);
|
||||
}).finally(|| {
|
||||
// NB: Using rtassert here to trigger abort on failure since this is a should_fail test
|
||||
// FIXME: #7049 This fails because buf is still borrowed
|
||||
|
|
Loading…
Add table
Reference in a new issue