Closed
Description
Bug Report
Version
❯ cargo tree | grep tracing
└── tracing v0.1.39
├── tracing-attributes v0.1.27 (proc-macro)
└── tracing-core v0.1.32
│ ├── tracing v0.1.39 (*)
│ ├── tracing v0.1.39 (*)
├── tracing v0.1.39 (*)
├── tracing-appender v0.2.2
│ └── tracing-subscriber v0.3.17
│ ├── tracing-core v0.1.32 (*)
│ └── tracing-log v0.1.3
│ └── tracing-core v0.1.32 (*)
├── tracing-subscriber v0.3.17 (*)
Platform
Darwin mac.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103 arm64
Crates
- tracing 0.1.39
Description
#2757 This PR introduces an issue where if the user's crate name is core
, it will lead to a build error.
error[E0433]: failed to resolve: could not find `format_args` in `core`
--> app/src/manager/folder.rs:15:4
|
15 | info!("{:?}", e);
| ^^^^^^^^^^^^^^^^ could not find `format_args` in `core`
|
= note: this error originates in the macro `$crate::event` which comes from the expansion of the macro`info` (in Nightly builds, run with -Z macro-backtrace for more info)
It typically occurs in projects that do not need to publish their crate to crates.io. See sxyazi/yazi#270 for more details.
Metadata
Metadata
Assignees
Labels
No labels