rust/tests/ui/hygiene/impl_items.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

14 lines
403 B
Plaintext

error: type `for<'a> fn(&'a foo::S) {foo::S::f}` is private
--> $DIR/impl_items.rs:10: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 1 previous error