add notes clarifying introduction of warnings for a pair of run-pass tests.

This commit is contained in:
Felix S. Klock II 2015-04-21 09:58:06 +02:00
parent ccc9f5eb84
commit 2b3cd40f82
2 changed files with 13 additions and 0 deletions

View File

@ -10,6 +10,14 @@
// ignore-pretty: pprust doesn't print hygiene output
// Test that labels injected by macros do not break hygiene. This
// checks cases where the macros invocations are under the rhs of a
// let statement.
// Issue #24278: The label/lifetime shadowing checker from #24162
// conservatively ignores hygiene, and thus issues warnings that are
// both true- and false-positives for this test.
macro_rules! loop_x {
($e: expr) => {
// $e shouldn't be able to interact with this 'x

View File

@ -8,6 +8,11 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Test that labels injected by macros do not break hygiene.
// Issue #24278: The label/lifetime shadowing checker from #24162
// conservatively ignores hygiene, and thus issues warnings that are
// both true- and false-positives for this test.
macro_rules! loop_x {
($e: expr) => {