• FolderA
    • FileA
    • FileB.rs
  • FileA
  • main.rs
Output
   Compiling nix-compiler v0.1.0 (/home/apika/dev/rust/nix-compiler)
error[E0433]: failed to resolve: could not find `NixAttrSet` in the crate root
   --> src/builtins/impl.rs:953:1
    |
953 | / gen_builtins! {
954 | |     currentSystem = NixValue::String("x86_64-linux".to_owned());
955 | |     false = NixValue::Bool(false);
956 | |     nixVersion = NixValue::String("2.24.9".to_owned());
957 | |     null = NixValue::Null;
958 | |     true = NixValue::Bool(true);
959 | | }
    | |_^ could not find `NixAttrSet` in the crate root
    |
    = note: this error originates in the macro `gen_builtins` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this enum
    |
    |   + use crate::value::NixAttrSet;
    |

Some errors have detailed explanations: E0063, E0277, E0308, E0369, E0433, E0599.
For more information about an error, try `rustc --explain E0063`.
error: could not compile `nix-compiler` (bin "nix-compiler") due to 47 previous errors