Fix compilation error "the trait bound SubdiagnosticMessage: From<&std::string::String>
is not satisfied"
This commit is contained in:
parent
6e21e4823d
commit
bbaa930b35
@ -67,10 +67,11 @@ pub(crate) fn look_for_custom_classes<'tcx>(cx: &DocContext<'tcx>, item: &Item)
|
||||
.note(
|
||||
// This will list the wrong items to make them more easily searchable.
|
||||
// To ensure the most correct hits, it adds back the 'class:' that was stripped.
|
||||
&format!(
|
||||
format!(
|
||||
"found these custom classes: class={}",
|
||||
tests.custom_classes_found.join(",class=")
|
||||
),
|
||||
)
|
||||
.as_str(),
|
||||
)
|
||||
.emit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user