about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2022-07-14 15:35:19 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2022-07-14 16:30:48 +0200
commited7303766138aa9c1ef79c877cb610ec604a62b8 (patch)
tree159374936a965728134272aaf32b69e973cb72a9 /compiler/rustc_const_eval/src/interpret
parent0ed9c64c3e63acac9bd77abce62501696c390450 (diff)
downloadrust-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.rs2
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();