summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2024-07-16 20:10:10 -0500
committerGitHub <noreply@github.com>2024-07-16 20:10:10 -0500
commit606d8cf9e81702fc50aff3baa4154f90df68b261 (patch)
tree62f8f1a112ceb02502f6bf0b75b399792b3c231c /compiler/rustc_const_eval/src/interpret
parentfe1dc02163e001092ae4e7306ec30b05e9960657 (diff)
parent7f0ccfe69d7c79ed84a7fb23081fd2d15434da62 (diff)
downloadrust-606d8cf9e81702fc50aff3baa4154f90df68b261.tar.gz
rust-606d8cf9e81702fc50aff3baa4154f90df68b261.zip
Rollup merge of #126776 - nnethercote:rustfmt-use-pre-cleanups-2, r=cuviper
Clean up more comments near use declarations

#125443 will reformat all use declarations in the repository. There are a few edge cases involving comments on use declarations that require care. This PR fixes them up so #125443 can go ahead with a simple `x fmt --all`. A follow-up to #126717.

r? ``@cuviper``
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
-rw-r--r--compiler/rustc_const_eval/src/interpret/validity.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/validity.rs b/compiler/rustc_const_eval/src/interpret/validity.rs
index 7fea0617666..4da7e233889 100644
--- a/compiler/rustc_const_eval/src/interpret/validity.rs
+++ b/compiler/rustc_const_eval/src/interpret/validity.rs
@@ -34,7 +34,6 @@ use super::{
     Pointer, Projectable, Scalar, ValueVisitor,
 };
 
-// for the validation errors
 use super::InterpError::UndefinedBehavior as Ub;
 use super::InterpError::Unsupported as Unsup;
 use super::UndefinedBehaviorInfo::*;