You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: For multi-file Rust projects, the include! macro is probably not what you are looking for. Usually, multi-file Rust projects use modules. Multi-file projects and modules are explained in the Rust-by-Example book here and the module system is explained in the Rust Book here.The included file is placed in the surrounding code unhygienically. If the included file is parsed as an expression and variables or functions share names across both files, it could result in variables or functions being different from what the included file expected.
The included file is located relative to the current file (similarly to how modules are found). The provided path is interpreted in a platform-specific way at compile time. So, for instance, an invocation with a Windows path containing backslashes \ would not compile correctly on Unix.
It's better to create file links instead of include file.
The text was updated successfully, but these errors were encountered:
Reproduce
lib/grammers-client/test/deps.rs
cargo test --workspace
, it may be the bug of r-aExpected Behevior
As std lib doesn't encourage include! macro used in normal code
It's better to create file links instead of include file.
The text was updated successfully, but these errors were encountered: