From ed1bc684fc28d26635eed49a8a39e6c492782564 Mon Sep 17 00:00:00 2001 From: Nick Hamann Date: Sun, 10 May 2015 13:17:12 -0500 Subject: [PATCH] Add a link to the E0184 long diagnostic message. --- src/librustc_typeck/diagnostics.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 89b7e8c5747f..373be6207364 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -155,8 +155,10 @@ fn(isize, *const *const u8) -> isize E0184: r##" Explicitly implementing both Drop and Copy for a type is currently disallowed. This feature can make some sense in theory, but the current implementation is -incorrect and can lead to memory unsafety (see issue #20126), so it has been -disabled for now. +incorrect and can lead to memory unsafety (see [issue #20126][iss20126]), so +it has been disabled for now. + +[iss20126]: https://github.com/rust-lang/rust/issues/20126 "##, E0204: r##"