-
-
Save jD91mZM2/1062c287077716829558541075dde205 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ Coding Rust rnix master 3✎ % cargo run --example error-report /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/./attrsets.nix | |
Finished dev [unoptimized + debuginfo] target(s) in 0.02s | |
Running `target/debug/examples/error-report /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/./attrsets.nix` | |
error: parse error: unexpected token Dynamic([(Meta { span: Span { start: (27, 20), end: Some((27, 24)) }, comments: [] }, Ident("attr"))]) not applicable in this context | |
Span { start: (27, 18), end: Some((27, 25)) } | |
if attrPath == [] then e | |
else if e ? ${attr} | |
^^^^^^^ | |
then attrByPath (tail attrPath) default e.${attr} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment