|
| 1 | +error[E0463]: can't find crate for `rustc_serialize` |
| 2 | + --> $DIR/feature-gate-rustc_encodable_decodable.rs:4:1 |
| 3 | + | |
| 4 | +LL | extern crate rustc_serialize; |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate |
| 6 | + | |
| 7 | + = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` |
| 8 | + |
| 9 | +error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code |
| 10 | + --> $DIR/feature-gate-rustc_encodable_decodable.rs:7:5 |
| 11 | + | |
| 12 | +LL | RustcEncodable, |
| 13 | + | ^^^^^^^^^^^^^^ |
| 14 | + | |
| 15 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 16 | + = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
| 17 | + = note: `#[deny(soft_unstable)]` on by default |
| 18 | + |
| 19 | +warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported |
| 20 | + --> $DIR/feature-gate-rustc_encodable_decodable.rs:7:5 |
| 21 | + | |
| 22 | +LL | RustcEncodable, |
| 23 | + | ^^^^^^^^^^^^^^ |
| 24 | + | |
| 25 | + = note: `#[warn(deprecated)]` on by default |
| 26 | + |
| 27 | +error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code |
| 28 | + --> $DIR/feature-gate-rustc_encodable_decodable.rs:11:5 |
| 29 | + | |
| 30 | +LL | RustcDecodable, |
| 31 | + | ^^^^^^^^^^^^^^ |
| 32 | + | |
| 33 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 34 | + = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
| 35 | + |
| 36 | +warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported |
| 37 | + --> $DIR/feature-gate-rustc_encodable_decodable.rs:11:5 |
| 38 | + | |
| 39 | +LL | RustcDecodable, |
| 40 | + | ^^^^^^^^^^^^^^ |
| 41 | + |
| 42 | +error: aborting due to 3 previous errors; 2 warnings emitted |
| 43 | + |
| 44 | +For more information about this error, try `rustc --explain E0463`. |
| 45 | +Future incompatibility report: Future breakage diagnostic: |
| 46 | +error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code |
| 47 | + --> $DIR/feature-gate-rustc_encodable_decodable.rs:7:5 |
| 48 | + | |
| 49 | +LL | RustcEncodable, |
| 50 | + | ^^^^^^^^^^^^^^ |
| 51 | + | |
| 52 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 53 | + = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
| 54 | + = note: `#[deny(soft_unstable)]` on by default |
| 55 | + |
| 56 | +Future breakage diagnostic: |
| 57 | +error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code |
| 58 | + --> $DIR/feature-gate-rustc_encodable_decodable.rs:11:5 |
| 59 | + | |
| 60 | +LL | RustcDecodable, |
| 61 | + | ^^^^^^^^^^^^^^ |
| 62 | + | |
| 63 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 64 | + = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
| 65 | + = note: `#[deny(soft_unstable)]` on by default |
| 66 | + |
0 commit comments