about summary refs log tree commit diff
path: root/src/libcore/fmt
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2015-01-24 19:23:53 -0800
committerSteven Fackler <sfackler@gmail.com>2015-01-25 11:22:41 -0800
commit70214915b07d4b1eb1956c33ee9d4308f6bc2400 (patch)
tree2bca2c566cd0b7920673f371596869caeed17c54 /src/libcore/fmt
parentd15192317aa025ff06faa56ca00950fb7ce6ff4b (diff)
downloadrust-70214915b07d4b1eb1956c33ee9d4308f6bc2400.tar.gz
rust-70214915b07d4b1eb1956c33ee9d4308f6bc2400.zip
Add a missing fmt::Debug impl lint
Closes #20855
Diffstat (limited to 'src/libcore/fmt')
-rw-r--r--src/libcore/fmt/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs
index 87f7839cd47..2bb4e094863 100644
--- a/src/libcore/fmt/mod.rs
+++ b/src/libcore/fmt/mod.rs
@@ -245,6 +245,7 @@ pub trait Show {
 #[unstable = "I/O and core have yet to be reconciled"]
 #[rustc_on_unimplemented = "`{Self}` cannot be formatted using `:?`; if it is defined in your \
                             crate, add `#[derive(Debug)]` or manually implement it"]
+#[lang = "debug_trait"]
 pub trait Debug {
     /// Formats the value using the given formatter.
     fn fmt(&self, &mut Formatter) -> Result;