diff options
| author | Boxy <supbscripter@gmail.com> | 2023-04-27 08:34:11 +0100 |
|---|---|---|
| committer | Boxy <supbscripter@gmail.com> | 2023-04-27 08:35:19 +0100 |
| commit | f04b8fe0af291a444ecfcf774337966a5cc9d7db (patch) | |
| tree | 3b983a3805c4275580f8ac059910de6429875bbd /compiler/rustc_codegen_cranelift/src/abi | |
| parent | e3ccd4b9a51ded19bf1c3f6c647c96b6dd52eced (diff) | |
| download | rust-f04b8fe0af291a444ecfcf774337966a5cc9d7db.tar.gz rust-f04b8fe0af291a444ecfcf774337966a5cc9d7db.zip | |
rename `needs_infer` to `has_infer`
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/abi')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/abi/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/abi/mod.rs b/compiler/rustc_codegen_cranelift/src/abi/mod.rs index 91c085d3d69..0b4d4ecf2e4 100644 --- a/compiler/rustc_codegen_cranelift/src/abi/mod.rs +++ b/compiler/rustc_codegen_cranelift/src/abi/mod.rs @@ -70,7 +70,7 @@ pub(crate) fn get_function_sig<'tcx>( default_call_conv: CallConv, inst: Instance<'tcx>, ) -> Signature { - assert!(!inst.substs.needs_infer()); + assert!(!inst.substs.has_infer()); clif_sig_from_fn_abi( tcx, default_call_conv, |
