File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 153
153
/// [`HashMap<K, V>`]: ../../std/collections/struct.HashMap.html
154
154
/// [`String`]: ../../std/string/struct.String.html
155
155
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
156
- #[ rustc_diagnostic_item = "Borrow" ]
157
156
pub trait Borrow < Borrowed : ?Sized > {
158
157
/// Immutably borrows from an owned value.
159
158
///
@@ -220,7 +219,6 @@ impl<T: ?Sized> BorrowMut<T> for T {
220
219
221
220
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
222
221
impl < T : ?Sized > Borrow < T > for & T {
223
- #[ rustc_diagnostic_item = "noop_method_borrow" ]
224
222
fn borrow ( & self ) -> & T {
225
223
& * * self
226
224
}
Original file line number Diff line number Diff line change 60
60
#[ doc( alias = "*" ) ]
61
61
#[ doc( alias = "&*" ) ]
62
62
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
63
- #[ rustc_diagnostic_item = "Deref" ]
64
63
pub trait Deref {
65
64
/// The resulting type after dereferencing.
66
65
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -79,7 +78,6 @@ pub trait Deref {
79
78
impl < T : ?Sized > Deref for & T {
80
79
type Target = T ;
81
80
82
- #[ rustc_diagnostic_item = "noop_method_deref" ]
83
81
fn deref ( & self ) -> & T {
84
82
* self
85
83
}
You can’t perform that action at this time.
0 commit comments