diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-15 10:39:46 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-15 10:39:46 +0530 |
| commit | 6dae197afadd3d7bf532ebbfd6e9acbc6f16be2f (patch) | |
| tree | e5ad07468d9c6ff7041cc60443e4146183fe132d | |
| parent | bc8abdb44ca82b63ba913c97958334f731d6e928 (diff) | |
| parent | ed7303766138aa9c1ef79c877cb610ec604a62b8 (diff) | |
| download | rust-6dae197afadd3d7bf532ebbfd6e9acbc6f16be2f.tar.gz rust-6dae197afadd3d7bf532ebbfd6e9acbc6f16be2f.zip | |
Rollup merge of #99241 - danbev:intrinsics-comment, r=fee1-dead
Remove comment referring to constness.rs This commit removes the comment in emulate_intrinsic, which is currently referring to `src/librustc_middle/ty/constness.rs`.
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/intrinsics.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/intrinsics.rs b/compiler/rustc_const_eval/src/interpret/intrinsics.rs index e2a8a9891f7..3039b10373d 100644 --- a/compiler/rustc_const_eval/src/interpret/intrinsics.rs +++ b/compiler/rustc_const_eval/src/interpret/intrinsics.rs @@ -132,8 +132,6 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { Some(p) => p, }; - // Keep the patterns in this match ordered the same as the list in - // `src/librustc_middle/ty/constness.rs` match intrinsic_name { sym::caller_location => { let span = self.find_closest_untracked_caller_location(); |
