diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-05-24 19:35:29 -0700 | 
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-05-29 19:04:53 -0700 | 
| commit | 206ab89629298cc9f4b6fb0aa1cd7556c65b5bfe (patch) | |
| tree | 6a899250550f71bf26f5d57e3cbeee8b97661c9f /src/test/compile-fail/lint-default-methods.rs | |
| parent | 4e3d4b36dc3a030bb5f152afbfccfd4427830dac (diff) | |
| download | rust-206ab89629298cc9f4b6fb0aa1cd7556c65b5bfe.tar.gz rust-206ab89629298cc9f4b6fb0aa1cd7556c65b5bfe.zip | |
librustc: Stop reexporting the standard modules from prelude.
Diffstat (limited to 'src/test/compile-fail/lint-default-methods.rs')
| -rw-r--r-- | src/test/compile-fail/lint-default-methods.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/test/compile-fail/lint-default-methods.rs b/src/test/compile-fail/lint-default-methods.rs index 89b99fcebca..23befde7559 100644 --- a/src/test/compile-fail/lint-default-methods.rs +++ b/src/test/compile-fail/lint-default-methods.rs @@ -1,7 +1,7 @@ #[forbid(default_methods)]; trait Foo { //~ ERROR default methods are experimental - fn bar(&self) { io::println("hi"); } + fn bar(&self) { println("hi"); } } fn main() {} | 
