]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/impl_items.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / hygiene / impl_items.stderr
1 error: type `for<'a> fn(&'a foo::S) {foo::S::f}` is private
2   --> $DIR/impl_items.rs:12:23
3    |
4 LL |         let _: () = S.f();
5    |                       ^ private type
6 ...
7 LL |     foo::m!();
8    |     --------- in this macro invocation
9    |
10    = note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: aborting due to previous error
13