fix a comment

This commit is contained in:
Ralf Jung 2020-12-29 16:32:38 +01:00
parent 4a90a58c34
commit 51cec58040

View File

@ -687,7 +687,7 @@ impl<'tcx> Validator<'_, 'tcx> {
self.validate_place(place_simplified)?;
// Check that the reference is fine (using the original place!).
// (Needs to come after `validate_local` to avoid ICEs.)
// (Needs to come after `validate_place` to avoid ICEs.)
self.validate_ref(*kind, place)?;
}