diff --git a/doc/rust.md b/doc/rust.md index 8c39fab28e79..096b873e589a 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -2704,7 +2704,7 @@ The special type `self` has a meaning within methods inside an impl item. It refers to the type of the implicit `self` argument. For example, in: -~~~~~~ +~~~~~~~~{.xfail-test} trait Printable { fn to_str() -> ~str; } @@ -2712,7 +2712,7 @@ trait Printable { impl ~str: Printable { fn to_str() -> ~str { copy self } } -~~~~~~ +~~~~~~~~ `self` refers to the value of type `~str` that is the receiver for a call to the method `to_str`. diff --git a/src/test/bench/shootout-nbody.rs b/src/test/bench/shootout-nbody.rs index bd535b128951..4fb621b7f0d2 100644 --- a/src/test/bench/shootout-nbody.rs +++ b/src/test/bench/shootout-nbody.rs @@ -1,3 +1,4 @@ +// xfail-test // based on: // http://shootout.alioth.debian.org/u32/benchmark.php?test=nbody&lang=java diff --git a/src/test/run-pass/stat.rs b/src/test/run-pass/stat.rs index 9767370fe7f8..9e3edb0c74d4 100644 --- a/src/test/run-pass/stat.rs +++ b/src/test/run-pass/stat.rs @@ -1,3 +1,4 @@ +// xfail-test extern mod std; use io::WriterUtil; use std::tempfile;