diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-02-06 15:37:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-06 15:37:46 +0100 |
| commit | 16e4e8f2de21601fb40e0419579a6126df8a1607 (patch) | |
| tree | 3752b9398417ed46a631171dab013da5a57f81ab /src/test/ui/missing_debug_impls.rs | |
| parent | 226a8e2932c2280941de89341aa0d2aca4a40c9f (diff) | |
| parent | c0a110f7e6b8f8eab2d5c8c9cfc3e86c37ef2fd8 (diff) | |
| download | rust-16e4e8f2de21601fb40e0419579a6126df8a1607.tar.gz rust-16e4e8f2de21601fb40e0419579a6126df8a1607.zip | |
Rollup merge of #68844 - euclio:debug-impl-def-path, r=petrochenkov
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.rs')
| -rw-r--r-- | src/test/ui/missing_debug_impls.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/missing_debug_impls.rs b/src/test/ui/missing_debug_impls.rs index ff919292ae2..72fcba51588 100644 --- a/src/test/ui/missing_debug_impls.rs +++ b/src/test/ui/missing_debug_impls.rs @@ -4,7 +4,7 @@ use std::fmt; -pub enum A {} //~ ERROR type does not implement `fmt::Debug` +pub enum A {} //~ ERROR type does not implement `std::fmt::Debug` #[derive(Debug)] pub enum B {} @@ -17,7 +17,7 @@ impl fmt::Debug for C { } } -pub struct Foo; //~ ERROR type does not implement `fmt::Debug` +pub struct Foo; //~ ERROR type does not implement `std::fmt::Debug` #[derive(Debug)] pub struct Bar; |
