Skip to content

Commit

Permalink
use tracking issue instead of original issue
Browse files Browse the repository at this point in the history
  • Loading branch information
arielb1 committed Dec 3, 2018
1 parent 6c0695b commit 35919bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/librustc_lint/lib.rs
Expand Up @@ -297,7 +297,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 {
Expand Down
6 changes: 3 additions & 3 deletions src/test/ui/issues/issue-33140.stderr
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 35919bd

Please sign in to comment.