From f97eea1c10cd4f2fa6b87bab5bfd66a780fb6515 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Fri, 31 Aug 2018 15:42:43 +0200 Subject: [PATCH] Add `.stderr` file for test that appears to trigger a lint that cannot be silenced. --- .../packed/packed-struct-generic-size.stderr | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/test/ui/run-pass/packed/packed-struct-generic-size.stderr diff --git a/src/test/ui/run-pass/packed/packed-struct-generic-size.stderr b/src/test/ui/run-pass/packed/packed-struct-generic-size.stderr new file mode 100644 index 00000000000..f9c343b60b0 --- /dev/null +++ b/src/test/ui/run-pass/packed/packed-struct-generic-size.stderr @@ -0,0 +1,36 @@ +warning: unnecessary path disambiguator + --> $DIR/packed-struct-generic-size.rs:48:14 + | +LL | check!(P1::, 1, 3); + | ^^ try removing `::` + +warning: unnecessary path disambiguator + --> $DIR/packed-struct-generic-size.rs:49:14 + | +LL | check!(P1::, 1, 11); + | ^^ try removing `::` + +warning: unnecessary path disambiguator + --> $DIR/packed-struct-generic-size.rs:51:14 + | +LL | check!(P2::, 1, 3); + | ^^ try removing `::` + +warning: unnecessary path disambiguator + --> $DIR/packed-struct-generic-size.rs:52:14 + | +LL | check!(P2::, 2, 12); + | ^^ try removing `::` + +warning: unnecessary path disambiguator + --> $DIR/packed-struct-generic-size.rs:54:15 + | +LL | check!(P4C::, 1, 3); + | ^^ try removing `::` + +warning: unnecessary path disambiguator + --> $DIR/packed-struct-generic-size.rs:55:15 + | +LL | check!(P4C::, 4, 12); + | ^^ try removing `::` +