mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
Rename Instance::new to Instance::new_raw and add a note that it is raw
This commit is contained in:
@@ -1282,7 +1282,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
|
||||
intrinsic.name,
|
||||
);
|
||||
}
|
||||
return Err(Instance::new(instance.def_id(), instance.args));
|
||||
return Err(Instance::new_raw(instance.def_id(), instance.args));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user