about summary refs log tree commit diff
path: root/src/test/ui/missing_debug_impls.stderr
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2020-02-04 17:08:50 -0500
committerAndy Russell <arussell123@gmail.com>2020-02-04 17:08:50 -0500
commitc0a110f7e6b8f8eab2d5c8c9cfc3e86c37ef2fd8 (patch)
treeef72e99c6a76c65f42cb47f0a528fd407d4eff0e /src/test/ui/missing_debug_impls.stderr
parentc9290dceee2cb6b882b26ec6e294560e51ef0853 (diff)
downloadrust-c0a110f7e6b8f8eab2d5c8c9cfc3e86c37ef2fd8.tar.gz
rust-c0a110f7e6b8f8eab2d5c8c9cfc3e86c37ef2fd8.zip
use def_path_str for missing_debug_impls message
The lint message will now use the full, correct path to the `Debug`
trait, even in `no_std`.
Diffstat (limited to 'src/test/ui/missing_debug_impls.stderr')
-rw-r--r--src/test/ui/missing_debug_impls.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/missing_debug_impls.stderr b/src/test/ui/missing_debug_impls.stderr
index 5f8adb791f6..51c65589b0c 100644
--- a/src/test/ui/missing_debug_impls.stderr
+++ b/src/test/ui/missing_debug_impls.stderr
@@ -1,4 +1,4 @@
-error: type does not implement `fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
+error: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
   --> $DIR/missing_debug_impls.rs:7:1
    |
 LL | pub enum A {}
@@ -10,7 +10,7 @@ note: the lint level is defined here
 LL | #![deny(missing_debug_implementations)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-error: type does not implement `fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
+error: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
   --> $DIR/missing_debug_impls.rs:20:1
    |
 LL | pub struct Foo;