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/drop-on-non-struct.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/drop-on-non-struct.rs')
| -rw-r--r-- | src/test/compile-fail/drop-on-non-struct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/drop-on-non-struct.rs b/src/test/compile-fail/drop-on-non-struct.rs index b2f87686ac6..5e422d26753 100644 --- a/src/test/compile-fail/drop-on-non-struct.rs +++ b/src/test/compile-fail/drop-on-non-struct.rs @@ -13,7 +13,7 @@ type Foo = @[u8]; impl Drop for Foo { //~ ERROR the Drop trait may only be implemented //~^ ERROR cannot provide an extension implementation fn finalize(&self) { - io::println("kaboom"); + println("kaboom"); } } |
