rename needs_infer
to has_infer
This commit is contained in:
parent
e3ccd4b9a5
commit
f04b8fe0af
34 changed files with 59 additions and 58 deletions
|
@ -152,7 +152,7 @@ pub fn codegen_mir<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
|
|||
cx: &'a Bx::CodegenCx,
|
||||
instance: Instance<'tcx>,
|
||||
) {
|
||||
assert!(!instance.substs.needs_infer());
|
||||
assert!(!instance.substs.has_infer());
|
||||
|
||||
let llfn = cx.get_fn(instance);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue