We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 63b4709 + 440a5c8 commit 9fbfab8Copy full SHA for 9fbfab8
src/librustc/mir/interpret/error.rs
@@ -217,7 +217,7 @@ fn print_backtrace(backtrace: &mut Backtrace) {
217
218
impl<'tcx> From<InterpError<'tcx>> for InterpErrorInfo<'tcx> {
219
fn from(kind: InterpError<'tcx>) -> Self {
220
- let backtrace = match env::var("RUST_CTFE_BACKTRACE") {
+ let backtrace = match env::var("RUSTC_CTFE_BACKTRACE") {
221
// Matching `RUST_BACKTRACE` -- we treat "0" the same as "not present".
222
Ok(ref val) if val != "0" => {
223
let mut backtrace = Backtrace::new_unresolved();
0 commit comments