mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
365 B
Plaintext
11 lines
365 B
Plaintext
error: type `fn() -> u32 {foo::bar::f}` is private
|
|
--> $DIR/intercrate.rs:8:16
|
|
|
|
|
LL | assert_eq!(intercrate::foo::m!(), 1);
|
|
| ^^^^^^^^^^^^^^^^^^^^^ private type
|
|
|
|
|
= note: this error originates in the macro `intercrate::foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to 1 previous error
|
|
|