Skip to content

Conversation

ple1n
Copy link

@ple1n ple1n commented Aug 14, 2025

No description provided.

@sanity sanity requested a review from iduartgomez August 14, 2025 03:44
@iduartgomez
Copy link
Contributor

fails in tests:

error[E0433]: failed to resolve: could not find `freenet_stdlib` in the list of imported crates
  --> rust/src/log.rs:7:11
   |
7  |         ::freenet_stdlib::log::info(&format!($($arg)*));
   |           ^^^^^^^^^^^^^^ could not find `freenet_stdlib` in the list of imported crates
...
31 |     info!("n={}, y={:?}", 1, 2);
   |     --------------------------- in this macro invocation
   |
   = note: this error originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this module
   |
1  + use crate::log;

need to use relative import from crate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants