use tracking issue instead of original issue

This commit is contained in:
Ariel Ben-Yehuda 2018-12-04 01:00:21 +02:00
parent 6e4b2b3ae7
commit c2ba2a7b65
2 changed files with 4 additions and 4 deletions

View file

@ -295,7 +295,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
},
FutureIncompatibleInfo {
id: LintId::of(ORDER_DEPENDENT_TRAIT_OBJECTS),
reference: "issue #33140 <https://github.com/rust-lang/rust/issues/33140>",
reference: "issue #56484 <https://github.com/rust-lang/rust/issues/56484>",
edition: None,
},
FutureIncompatibleInfo {

View file

@ -13,7 +13,7 @@ note: lint level defined here
LL | #![deny(order_dependent_trait_objects)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #33140 <https://github.com/rust-lang/rust/issues/33140>
= note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
error: conflicting implementations of trait `Trait2` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
--> $DIR/issue-33140.rs:35:1
@ -25,7 +25,7 @@ LL | impl Trait2 for dyn Sync + Send + Sync {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #33140 <https://github.com/rust-lang/rust/issues/33140>
= note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
error: duplicate definitions with name `abc` (E0592)
--> $DIR/issue-33140.rs:43:5
@ -42,7 +42,7 @@ LL | | }
| |_____- other definition for `abc`
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #33140 <https://github.com/rust-lang/rust/issues/33140>
= note: for more information, see issue #56484 <https://github.com/rust-lang/rust/issues/56484>
error: aborting due to 3 previous errors