about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Hamann <nick@wabbo.org>2015-05-10 13:17:12 -0500
committerNick Hamann <nick@wabbo.org>2015-05-10 17:49:12 -0500
commited1bc684fc28d26635eed49a8a39e6c492782564 (patch)
tree1e617d0bc2ff535b0df35a20732ae6640f4c2417
parent021b3f55d6a10e668a6fa7b51b4f8cd10a2493e5 (diff)
downloadrust-ed1bc684fc28d26635eed49a8a39e6c492782564.tar.gz
rust-ed1bc684fc28d26635eed49a8a39e6c492782564.zip
Add a link to the E0184 long diagnostic message.
-rw-r--r--src/librustc_typeck/diagnostics.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs
index 89b7e8c5747..373be620736 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##"