http-rs / http-rs/tide

0.11, 0.10 and 0.9 have macro_exports problem on the log module

Open
#620 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
5.1k
Forks
329
PR merge metrics
No merged PRs in 30d

Description

I am not quite sure but this is not expected behavior seems like:
Upgrading from 0.8.1 to 0.11.0, 0.10, 0.9 made this available.
```
error[E0433]: failed to resolve: use of undeclared type or module `log`
--> /Users/mahmut/.cargo/registry/src/github.com-1ecc6299db9ec823/tide-0.11.0/src/log/mod.rs:30:5
|
30 | crate::log::info!("Logger started", { level: "Info" });
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `log`
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.