Correct file path after some restructures in compiler
This commit is contained in:
parent
5e449b9adf
commit
3e08354fb0
7 changed files with 15 additions and 15 deletions
|
@ -106,8 +106,8 @@ pub fn intrinsic_operation_unsafety(intrinsic: Symbol) -> hir::Unsafety {
|
|||
}
|
||||
}
|
||||
|
||||
/// Remember to add all intrinsics here, in librustc_codegen_llvm/intrinsic.rs,
|
||||
/// and in libcore/intrinsics.rs
|
||||
/// Remember to add all intrinsics here, in `compiler/rustc_codegen_llvm/src/intrinsic.rs`,
|
||||
/// and in `library/core/src/intrinsics.rs`.
|
||||
pub fn check_intrinsic_type(tcx: TyCtxt<'_>, it: &hir::ForeignItem<'_>) {
|
||||
let param = |n| tcx.mk_ty_param(n, Symbol::intern(&format!("P{}", n)));
|
||||
let def_id = tcx.hir().local_def_id(it.hir_id).to_def_id();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue