src/parser/shell_expand/mod.rs:277 is reachable
Created by: msehnout
Reproduction: [describe how you are able to reproduce ("trigger") this bug/issue.]
let PROMPT = "${USER}@${PWD} (${git::branch})"
thread 'main' panicked at 'internal error: entered unreachable code', src/parser/shell_expand/mod.rs:277
note: Run with `RUST_BACKTRACE=1` for a backtrace.
see the @${PWD}
which should have been \@${PWD}
, but I forgot to backslash it.
Expected behavior: [describe the behavior you would expect the repro to yield.]
no crash
Actual behavior: [describe the actual behavior, which is presented through the repro.].
Build information: [output of rustc -V
, git rev-parse HEAD
, qemu-i386 -version
, uname -a
, etc.]
$ git rev-parse HEAD
d144f190
Blocking/related: [issues or PRs blocking or being related to this issue.]
Misc: [optional: for other relevant information that should be known or cannot be described in the other fields.]
If the above does not fit the nature of the issue feel free to modify it.