add gitattributes and fix whitespace issues
This commit is contained in:
parent
bfd3cd8171
commit
86efd97a10
433 changed files with 196 additions and 597 deletions
|
|
@ -17,4 +17,3 @@ pub impl Foo {
|
|||
Foo { x: 3 }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,4 +27,3 @@ pub mod kitties {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,4 +31,3 @@ pub mod kitties {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,5 +56,3 @@ pub mod kitty {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,4 +19,3 @@ pub fn iter(v: ~[uint], f: &fn(uint)) {
|
|||
i += 1u;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,5 +23,3 @@ impl Foo for Bar {
|
|||
io::println((*self).x);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,4 +3,3 @@
|
|||
pub mod extern_mod_ordering_lib {
|
||||
pub fn f() {}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,4 +15,3 @@ pub mod rustrt {
|
|||
pub fn rust_get_argc() -> libc::c_int;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,4 +7,3 @@ pub struct Fish {
|
|||
pub impl Fish {
|
||||
fn swim(&self) {}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,5 +11,3 @@ mod unexported {
|
|||
fn ne(&self, _: &Fish) -> bool { false }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,4 +20,3 @@ trait foo {
|
|||
impl foo for ~str {
|
||||
fn foo(&self) {}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@
|
|||
#[crate_type = "lib"];
|
||||
|
||||
extern mod a;
|
||||
|
||||
|
|
|
|||
|
|
@ -55,4 +55,3 @@ fn context_res() -> context_res {
|
|||
}
|
||||
|
||||
pub type context = arc_destruct<context_res>;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,5 +17,3 @@ pub mod cloth {
|
|||
gingham, flannel, calico
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ trait x {
|
|||
fn use_x<T>(&self);
|
||||
}
|
||||
struct y(());
|
||||
impl x for y {
|
||||
impl x for y {
|
||||
fn use_x<T>(&self) {
|
||||
struct foo { //~ ERROR quux
|
||||
i: ()
|
||||
|
|
@ -20,6 +20,5 @@ impl x for y {
|
|||
fn new_foo<T>(i: ()) -> foo {
|
||||
foo { i: i }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ mod issue_3882 {
|
|||
struct Completions {
|
||||
len: libc::size_t,
|
||||
}
|
||||
|
||||
|
||||
mod c {
|
||||
extern {
|
||||
fn linenoiseAddCompletion(lc: *mut Completions);
|
||||
|
|
|
|||
|
|
@ -25,4 +25,3 @@ pub fn f() {
|
|||
let y = x;
|
||||
let z = y;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#[crate_type="lib"];
|
||||
|
||||
pub struct Au(int);
|
||||
|
||||
|
|
|
|||
|
|
@ -18,4 +18,3 @@ pub mod a {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,4 +21,3 @@ pub mod float {
|
|||
fn from_int2(n: int) -> float { return n as float; }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ pub struct S {
|
|||
x: int,
|
||||
y: int
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,5 +17,3 @@ pub struct A { x: int }
|
|||
impl Foo for A { fn f(&self) -> int { 10 } }
|
||||
impl Bar for A { fn g(&self) -> int { 20 } }
|
||||
impl Baz for A { fn h(&self) -> int { 30 } }
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -38,4 +38,3 @@ impl Eq for MyInt {
|
|||
impl MyNum for MyInt;
|
||||
|
||||
fn mi(v: int) -> MyInt { MyInt { val: v } }
|
||||
|
||||
|
|
|
|||
|
|
@ -7,4 +7,3 @@ pub struct Foo {
|
|||
impl Foo {
|
||||
fn new() -> Foo { Foo { x: 1 } }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ fn main() {
|
|||
~[~"", ~"10000", ~"4"]
|
||||
} else {
|
||||
copy args
|
||||
};
|
||||
};
|
||||
|
||||
debug!("%?", args);
|
||||
run(args);
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ fn main() {
|
|||
~[~"", ~"10000", ~"4"]
|
||||
} else {
|
||||
copy args
|
||||
};
|
||||
};
|
||||
|
||||
debug!("%?", args);
|
||||
run(args);
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ fn main() {
|
|||
~[~"", ~"10", ~"100"]
|
||||
} else {
|
||||
copy args
|
||||
};
|
||||
};
|
||||
|
||||
let num_tasks = uint::from_str(args[1]).get();
|
||||
let msg_per_task = uint::from_str(args[2]).get();
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ fn main() {
|
|||
~[~"", ~"100", ~"1000"]
|
||||
} else {
|
||||
copy args
|
||||
};
|
||||
};
|
||||
|
||||
let num_tasks = uint::from_str(args[1]).get();
|
||||
let msg_per_task = uint::from_str(args[2]).get();
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ fn main() {
|
|||
~[~"", ~"10", ~"100"]
|
||||
} else {
|
||||
copy args
|
||||
};
|
||||
};
|
||||
|
||||
let num_tasks = uint::from_str(args[1]).get();
|
||||
let msg_per_task = uint::from_str(args[2]).get();
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
// Compare bounded and unbounded protocol performance.
|
||||
|
||||
// xfail-pretty
|
||||
|
||||
|
||||
extern mod std;
|
||||
|
||||
use core::cell::Cell;
|
||||
|
|
|
|||
|
|
@ -218,4 +218,3 @@ fn main() {
|
|||
rendezvous(nn,
|
||||
~[Blue, Red, Yellow, Red, Yellow, Blue, Red, Yellow, Red, Blue]);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -92,4 +92,3 @@ fn main() {
|
|||
let n: i32 = FromStr::from_str(os::args()[1]).get();
|
||||
println(fmt!("Pfannkuchen(%d) = %d", n as int, fannkuch_redux(n) as int));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -201,4 +201,3 @@ fn main() {
|
|||
fputc('\n' as c_int, stdout);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -222,4 +222,3 @@ fn main() {
|
|||
io::println(from_child[ii].recv());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ fn generate_frequencies(frequencies: &mut Table,
|
|||
mut input: &[u8],
|
||||
frame: i32) {
|
||||
let mut code = Code(0);
|
||||
|
||||
|
||||
// Pull first frame.
|
||||
for (frame as uint).times {
|
||||
code = code.push_char(input[0]);
|
||||
|
|
@ -313,4 +313,3 @@ fn main() {
|
|||
print_occurrences(frequencies, occurrence);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -57,4 +57,3 @@ fn main() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -175,4 +175,3 @@ fn main() {
|
|||
let n: u32 = FromStr::from_str(os::args()[1]).get();
|
||||
pidigits(n);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -152,4 +152,3 @@ fn main() {
|
|||
fwrite(transmute(out.unsafe_ref(0)), 1, pos as size_t, stdout);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -274,4 +274,3 @@ fn main() {
|
|||
sudoku.solve();
|
||||
sudoku.write(io::stdout());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ enum a { A, }
|
|||
enum b { B, }
|
||||
|
||||
fn main() { let x: a = A; match x { B => { } } }
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ enum a { A(int), }
|
|||
enum b { B(int), }
|
||||
|
||||
fn main() { let x: a = A(0); match x { B(y) => { } } }
|
||||
|
||||
|
|
|
|||
|
|
@ -28,4 +28,3 @@ fn main() {
|
|||
let x = Foo { x: 3 };
|
||||
x.printme(); //~ ERROR illegal borrow
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,4 +21,3 @@ fn main() {
|
|||
hsl(h, s, l) => { debug!("hsl"); }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,4 +45,3 @@ fn c() {
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,4 +42,3 @@ fn d() {
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,4 +38,3 @@ fn c(x: &const Foo) {
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,6 @@ use core::either::{Either, Left, Right};
|
|||
let y: &Either<int, float> = &x;
|
||||
let z: &mut Either<int, float> = &mut x; //~ ERROR conflicts with prior loan
|
||||
*z = *y;
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
struct Point {
|
||||
struct Point {
|
||||
x: int,
|
||||
y: int,
|
||||
}
|
||||
|
|
@ -56,4 +56,3 @@ fn c() {
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -63,4 +63,3 @@ fn c() {
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ fn main() {
|
|||
v[1] = 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,9 +13,8 @@ fn main() {
|
|||
match Some(~"Hello") { //~ ERROR illegal borrow
|
||||
Some(ref m) => {
|
||||
msg = m;
|
||||
},
|
||||
},
|
||||
None => { fail!() }
|
||||
}
|
||||
}
|
||||
io::println(*msg);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -52,4 +52,3 @@ fn box_imm_recs(v: @Outer) {
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,4 +9,3 @@ fn a() {
|
|||
}
|
||||
|
||||
fn main() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,4 +18,3 @@ fn b() {
|
|||
}
|
||||
|
||||
fn main() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,4 +3,3 @@ fn main() {
|
|||
let _x = &mut *b; //~ NOTE prior loan as mutable granted here
|
||||
let _y = &mut *b; //~ ERROR loan of dereference of mutable ~ pointer as mutable conflicts with prior loan
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,4 +5,3 @@ fn main() {
|
|||
let mut d = /*move*/ a; //~ ERROR moving out of mutable local variable prohibited due to outstanding loan
|
||||
*d += 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,4 +4,3 @@ fn main() {
|
|||
let mut y = /*move*/ b; //~ ERROR moving out of mutable local variable prohibited
|
||||
*y += 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,5 +7,3 @@ fn foo(x: &mut int) {
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,4 +20,3 @@ fn main() {
|
|||
&Bar(ref identifier) => io::println(*identifier)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,4 +15,3 @@
|
|||
fn f(caller: str) { debug!(caller); }
|
||||
|
||||
fn main() { return f("main"); debug!("Paul is dead"); }
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
// error-pattern: unresolved name: `this_does_nothing_what_the`.
|
||||
fn main() { debug!("doing"); this_does_nothing_what_the; debug!("boing"); }
|
||||
|
||||
|
|
|
|||
|
|
@ -19,5 +19,3 @@ impl Drop for Foo { //~ ERROR the Drop trait may only be implemented
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ fn main() {
|
|||
let x = Foo { x: 3 };
|
||||
x.finalize(); //~ ERROR explicit call to destructor
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,5 +31,3 @@ impl Bar for Foo {
|
|||
fn main() {
|
||||
let x = Foo { x: 3 };
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -12,4 +12,3 @@ fn main() {
|
|||
let x: f32 = 1; //~ ERROR mismatched types
|
||||
let y: f32 = 1f; //~ ERROR mismatched types
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,4 +21,3 @@ fn main() {
|
|||
test::free();
|
||||
//~^ ERROR access to unsafe function requires unsafe function or block
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,5 +21,3 @@ fn main() {
|
|||
let x = test::free;
|
||||
//~^ ERROR access to unsafe function requires unsafe function or block
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -30,4 +30,3 @@ fn main() {
|
|||
fooT(T {f: x});
|
||||
fooT(T {f: bar});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,5 +15,4 @@ fn foo<T, U>(x: T, y: U) {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,4 +17,3 @@ fn main() {
|
|||
//
|
||||
// the first error is, um, non-ideal.
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
enum bottom { }
|
||||
enum bottom { }
|
||||
|
||||
fn main() {
|
||||
let x = ptr::to_unsafe_ptr(&()) as *bottom;
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@
|
|||
struct HasNested {
|
||||
mut nest: ~[~[int]],
|
||||
}
|
||||
|
||||
|
||||
impl HasNested {
|
||||
fn method_push_local(&self) {
|
||||
self.nest[0].push(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@
|
|||
struct Foo {
|
||||
baz: uint
|
||||
}
|
||||
|
||||
|
||||
impl Foo {
|
||||
fn bar() {
|
||||
Foo { baz: 0 }.bar();
|
||||
}
|
||||
|
||||
|
||||
fn bar() { //~ ERROR duplicate definition of value bar
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,4 +37,3 @@ mod m1 {
|
|||
fn main() {
|
||||
foo(); //~ ERROR: unresolved name: `foo`
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ static A: (int,int) = (4,2);
|
|||
fn main() {
|
||||
match 42 { A => () } //~ ERROR mismatched types: expected `<VI0>` but found `(int,int)` (expected integral variable but found tuple)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,4 +9,3 @@ impl Drop for Foo { //~ ERROR cannot implement a destructor on a struct that is
|
|||
}
|
||||
|
||||
fn main() { }
|
||||
|
||||
|
|
|
|||
|
|
@ -5,4 +5,3 @@ trait Foo { //~ ERROR default methods are experimental
|
|||
}
|
||||
|
||||
fn main() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,4 +32,3 @@ fn qux() {
|
|||
i += 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@
|
|||
fn foo(x: int) { debug!(x); }
|
||||
|
||||
fn main() {
|
||||
let x: int; if 1 > 2 { x = 10; }
|
||||
foo(x); //~ ERROR use of possibly uninitialized variable: `x`
|
||||
let x: int; if 1 > 2 { x = 10; }
|
||||
foo(x); //~ ERROR use of possibly uninitialized variable: `x`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
// except according to those terms.
|
||||
|
||||
fn f() -> int {
|
||||
let x: int;
|
||||
return x; //~ ERROR use of possibly uninitialized variable: `x`
|
||||
let x: int;
|
||||
return x; //~ ERROR use of possibly uninitialized variable: `x`
|
||||
}
|
||||
|
||||
fn main() { f(); }
|
||||
|
|
|
|||
|
|
@ -13,4 +13,3 @@ fn main() {
|
|||
fn baz(_x: int) { }
|
||||
baz(bar); //~ ERROR use of possibly uninitialized variable: `bar`
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@
|
|||
fn foo(x: int) { debug!(x); }
|
||||
|
||||
fn main() {
|
||||
let x: int;
|
||||
foo(x); //~ ERROR use of possibly uninitialized variable: `x`
|
||||
let x: int;
|
||||
foo(x); //~ ERROR use of possibly uninitialized variable: `x`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,5 +13,3 @@
|
|||
fn main() {
|
||||
globnar::brotz!();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -24,4 +24,3 @@ impl MyEq for A; //~ ERROR missing method
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,4 +13,3 @@
|
|||
fn f() -> int { }
|
||||
|
||||
fn main() { f(); }
|
||||
|
||||
|
|
|
|||
|
|
@ -24,4 +24,3 @@ fn main() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,4 +5,3 @@ fn main() {
|
|||
}
|
||||
io::println(x); //~ ERROR use of moved value
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,4 +29,3 @@ fn consume(v: ~List) -> int {
|
|||
}
|
||||
|
||||
fn main() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ use std::arc;
|
|||
fn main() {
|
||||
let v = ~[1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
||||
let arc_v = arc::ARC(v);
|
||||
|
||||
|
||||
do task::spawn() {
|
||||
let v = *arc::get(&arc_v);
|
||||
assert!(v[3] == 4);
|
||||
|
|
|
|||
|
|
@ -20,4 +20,3 @@ fn main() {
|
|||
let x: int = noexporttypelib::foo();
|
||||
//~^ ERROR expected `int` but found `core::option::Option<int>`
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,4 +20,3 @@ fn main() {
|
|||
b => { fail!(~"goodbye"); }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ fn main() {
|
|||
let h: &fn() = ||();
|
||||
let i: &once fn() = h; // ok
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ fn main() {
|
|||
let s = a::Foo { x: 1 };
|
||||
s.foo(); //~ ERROR method `foo` is private
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,4 +15,3 @@ mod a {
|
|||
fn main() {
|
||||
a::f(); //~ ERROR unresolved name
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,4 +12,3 @@ fn main() {
|
|||
let x = a::Foo;
|
||||
x.f(); //~ ERROR method `f` is private
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,4 +17,3 @@ mod a {
|
|||
fn main() {
|
||||
let s = a::Foo { x: 1 }; //~ ERROR field `x` is private
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,4 +25,3 @@ fn main() {
|
|||
Foo { x: _ } => {} //~ ERROR field `x` is private
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -65,4 +65,3 @@ fn main() {
|
|||
fn check_pp<T>(expr: T, f: &fn(pprust::ps, T), expect: str) {
|
||||
fail!();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -60,4 +60,3 @@ fn main() {
|
|||
fn check_pp<T>(expr: T, f: &fn(pprust::ps, T), expect: str) {
|
||||
fail!();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,4 +12,3 @@ fn main() {
|
|||
let f = |3: int| io::println("hello"); //~ ERROR refutable pattern
|
||||
f(4);
|
||||
}
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue