fix a comment
This commit is contained in:
parent
4a90a58c34
commit
51cec58040
@ -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)?;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user