From fe9eec6b3eb3dc4e42d83d40adc2c9a2660ea874 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 3 Jun 2022 15:00:29 -0700 Subject: [PATCH] Remove note about 24162 now that it has been resolved by /~https://github.com/rust-lang/rust/pull/96296. --- src/names/scopes.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/names/scopes.md b/src/names/scopes.md index 012bb25f5..58ee99b55 100644 --- a/src/names/scopes.md +++ b/src/names/scopes.md @@ -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.