Fix typos
This commit is contained in:
parent
37becd887e
commit
bd4ee7c7d2
27 changed files with 35 additions and 35 deletions
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-pretty -- comments are infaithfully preserved
|
||||
// xfail-pretty -- comments are unfaithfully preserved
|
||||
|
||||
#[allow(unused_variable)];
|
||||
#[allow(dead_assignment)];
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-pretty -- comments are infaithfully preserved
|
||||
// xfail-pretty -- comments are unfaithfully preserved
|
||||
|
||||
fn main() {
|
||||
let mut x: Option<int> = None;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// Regresion test for issue #1448 and #1386
|
||||
// Regression test for issue #1448 and #1386
|
||||
|
||||
fn main() {
|
||||
debug!("%u", 10i); //~ ERROR mismatched types
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// Regresion test for issue #4935
|
||||
// Regression test for issue #4935
|
||||
|
||||
fn foo(a: uint) {}
|
||||
fn main() { foo(5, 6) } //~ ERROR this function takes 1 parameter but 2 parameters were supplied
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
// xfail-test leaks
|
||||
// error-pattern:ran out of stack
|
||||
|
||||
// Test that the task fails after hiting the recursion limit
|
||||
// Test that the task fails after hitting the recursion limit
|
||||
// during unwinding
|
||||
|
||||
fn recurse() {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
// xfail-fast This works standalone on windows but not with check-fast.
|
||||
// possibly because there is another test that uses this extern fn but gives it
|
||||
// a diferent signature
|
||||
// a different signature
|
||||
|
||||
#[deriving(Eq)]
|
||||
struct TwoU64s {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ impl methods for () {
|
|||
}
|
||||
|
||||
// the position of this function is significant! - if it comes before methods
|
||||
// then it works, if it comes after it then it doesnt!
|
||||
// then it works, if it comes after it then it doesn't!
|
||||
fn to_bools(bitv: Storage) -> ~[bool] {
|
||||
vec::from_fn(8, |i| {
|
||||
let w = i / 64;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// Issue #825: Should recheck the loop contition after continuing
|
||||
// Issue #825: Should recheck the loop condition after continuing
|
||||
pub fn main() {
|
||||
let mut i = 1;
|
||||
while i > 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue