Skip to content

Commit b4c4bb2

Browse files
committed
Auto merge of rust-lang#3264 - rust-lang:rustup-2024-01-11, r=saethlin
Automatic Rustup
2 parents 372b9f6 + 23c1ebc commit b4c4bb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_config/src/msrvs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl Msrv {
109109
if let Some(duplicate) = msrv_attrs.last() {
110110
sess.dcx()
111111
.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")
113113
.emit();
114114
}
115115

clippy_utils/src/attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub fn get_unique_attr<'a>(
136136
if let Some(duplicate) = unique_attr {
137137
sess.dcx()
138138
.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")
140140
.emit();
141141
} else {
142142
unique_attr = Some(attr);

0 commit comments

Comments
 (0)