diff options
| author | Gurinder Singh <frederick.the.fool@gmail.com> | 2024-03-01 08:14:42 +0530 |
|---|---|---|
| committer | Gurinder Singh <frederick.the.fool@gmail.com> | 2024-03-01 08:14:42 +0530 |
| commit | beac5b12aa88da04d2434d5b86bec4345a018925 (patch) | |
| tree | 333d34c4ded66e2461dcd47cfa4d929355b3f641 /compiler | |
| parent | 77be7a3e0df908c5ea9ea4a70d209782a7299b4b (diff) | |
| download | rust-beac5b12aa88da04d2434d5b86bec4345a018925.tar.gz rust-beac5b12aa88da04d2434d5b86bec4345a018925.zip | |
Fix typo in comment
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_mir_transform/src/known_panics_lint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/known_panics_lint.rs b/compiler/rustc_mir_transform/src/known_panics_lint.rs index 7cab6650994..27477769cef 100644 --- a/compiler/rustc_mir_transform/src/known_panics_lint.rs +++ b/compiler/rustc_mir_transform/src/known_panics_lint.rs @@ -586,7 +586,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> { } Aggregate(ref kind, ref fields) => { - // Do not const pop union fields as they can be + // Do not const prop union fields as they can be // made to produce values that don't match their // underlying layout's type (see ICE #121534). // If the last element of the `Adt` tuple |
