File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ impl Msrv {
109
109
if let Some ( duplicate) = msrv_attrs. last ( ) {
110
110
sess. dcx ( )
111
111
. struct_span_err ( duplicate. span , "`clippy::msrv` is defined multiple times" )
112
- . span_note_mv ( msrv_attr. span , "first definition found here" )
112
+ . with_span_note ( msrv_attr. span , "first definition found here" )
113
113
. emit ( ) ;
114
114
}
115
115
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ pub fn get_unique_attr<'a>(
136
136
if let Some ( duplicate) = unique_attr {
137
137
sess. dcx ( )
138
138
. struct_span_err ( attr. span , format ! ( "`{name}` is defined multiple times" ) )
139
- . span_note_mv ( duplicate. span , "first definition found here" )
139
+ . with_span_note ( duplicate. span , "first definition found here" )
140
140
. emit ( ) ;
141
141
} else {
142
142
unique_attr = Some ( attr) ;
You can’t perform that action at this time.
0 commit comments