2020-09-02 10:40:56 +03:00
|
|
|
error: type `fn() -> u32 {foo::bar::f}` is private
|
2023-03-08 10:13:02 +01:00
|
|
|
--> $DIR/intercrate.rs:8:16
|
2018-04-07 17:28:31 +03:00
|
|
|
|
|
|
|
|
LL | assert_eq!(intercrate::foo::m!(), 1);
|
2020-03-22 15:36:54 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-04-07 17:28:31 +03:00
|
|
|
|
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the macro `intercrate::foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-04-07 17:28:31 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|