Skip to content

Commit ed73037

Browse files
committed
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'.
1 parent 0ed9c64 commit ed73037

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_const_eval/src/interpret/intrinsics.rs

-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
132132
Some(p) => p,
133133
};
134134

135-
// Keep the patterns in this match ordered the same as the list in
136-
// `src/librustc_middle/ty/constness.rs`
137135
match intrinsic_name {
138136
sym::caller_location => {
139137
let span = self.find_closest_untracked_caller_location();

0 commit comments

Comments
 (0)