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
The path attribute documentation explains how #[path] annotated modules are found. It does not explain how non-attributed modules are located once inside a #[path] module. For example:
// lib.rs#[path = "foo.rs"]mod x;
// foo.rsmod y;// y must be y.rs or y/mod.rs, relative to foo.rs.
In this case, once inside foo.rs, module locations will be relative to foo's location.
The text was updated successfully, but these errors were encountered:
The
path
attribute documentation explains how#[path]
annotated modules are found. It does not explain how non-attributed modules are located once inside a#[path]
module. For example:In this case, once inside
foo.rs
, module locations will be relative to foo's location.The text was updated successfully, but these errors were encountered: