Skip to content

Commit

Permalink
Remove note about 24162 now that it has been resolved by rust-lang/ru…
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jun 3, 2022
1 parent 524b9b1 commit fe9eec6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/names/scopes.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,6 @@ References to a label refer to the closest definition.
}
```

> **Note**: `rustc` currently warns about defining the same loop label multiple times in the same function, or if the label has the same name as an in-scope lifetime.
> This is intended as a future-compatibility warning about a possible extension to the language.
> See [PR #24162](https://github.com/rust-lang/rust/pull/24162).
## Prelude scopes

[Preludes] bring entities into scope of every module.
Expand Down

0 comments on commit fe9eec6

Please sign in to comment.