diff options
Diffstat (limited to 'tests/ui/hygiene/impl_items.stderr')
-rw-r--r-- | tests/ui/hygiene/impl_items.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/hygiene/impl_items.stderr b/tests/ui/hygiene/impl_items.stderr new file mode 100644 index 000000000..46a250038 --- /dev/null +++ b/tests/ui/hygiene/impl_items.stderr @@ -0,0 +1,13 @@ +error: type `for<'a> fn(&'a 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 + |