Address nit
This commit is contained in:
parent
55621b6199
commit
8ea9672f82
@ -1711,7 +1711,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
||||
|
||||
/// Apply "fallbacks" to some types
|
||||
/// ! gets replaced with (), unconstrained ints with i32, and unconstrained floats with f64.
|
||||
pub fn default_type_parameters(&self) {
|
||||
fn default_type_parameters(&self) {
|
||||
use middle::ty::UnconstrainedNumeric::{UnconstrainedInt, UnconstrainedFloat, Neither};
|
||||
for ty in &self.infcx().unsolved_variables() {
|
||||
let resolved = self.infcx().resolve_type_vars_if_possible(ty);
|
||||
|
Loading…
x
Reference in New Issue
Block a user