fix one typo
This commit is contained in:
parent
66bf391c3a
commit
5aa5d57808
@ -232,7 +232,7 @@ pub fn report_method_error<'b>(
|
|||||||
};
|
};
|
||||||
let mut err = if !actual.references_error() {
|
let mut err = if !actual.references_error() {
|
||||||
// Suggest clamping down the type if the method that is being attempted to
|
// Suggest clamping down the type if the method that is being attempted to
|
||||||
// be used exists at all, and the type is an ambiuous numeric type
|
// be used exists at all, and the type is an ambiguous numeric type
|
||||||
// ({integer}/{float}).
|
// ({integer}/{float}).
|
||||||
let mut candidates = all_traits(self.tcx)
|
let mut candidates = all_traits(self.tcx)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
Loading…
Reference in New Issue
Block a user