diff options
Diffstat (limited to 'src/test/ui/hygiene/impl_items.stderr')
-rw-r--r-- | src/test/ui/hygiene/impl_items.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/hygiene/impl_items.stderr b/src/test/ui/hygiene/impl_items.stderr new file mode 100644 index 000000000..523309f43 --- /dev/null +++ b/src/test/ui/hygiene/impl_items.stderr @@ -0,0 +1,13 @@ +error: type `for<'r> fn(&'r foo::S) {foo::S::f}` is private + --> $DIR/impl_items.rs:12:23 + | +LL | let _: () = S.f(); + | ^ private type +... +LL | foo::m!(); + | --------- in this macro invocation + | + = note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info) + +error: aborting due to previous error + |