diff options
| author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2022-07-14 15:35:19 +0200 |
|---|---|---|
| committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2022-07-14 16:30:48 +0200 |
| commit | ed7303766138aa9c1ef79c877cb610ec604a62b8 (patch) | |
| tree | 159374936a965728134272aaf32b69e973cb72a9 /compiler/rustc_const_eval/src/interpret | |
| parent | 0ed9c64c3e63acac9bd77abce62501696c390450 (diff) | |
| download | rust-ed7303766138aa9c1ef79c877cb610ec604a62b8.tar.gz rust-ed7303766138aa9c1ef79c877cb610ec604a62b8.zip | |
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'.
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
| -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(); |
