-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic computing autodiff attributes of <&T as core::fmt::Debug>::fmt
#183
Comments
What OS are you on? I couldn't reproduce it on 3 different systems. |
Arch Linux and Debian (reproduced on both systems), both x86-64. |
I don't have these three, maybe try without?
Independently, try to change EncodeCrossCrate::No to EncodeCrossCrate::Yes in |
potentially related: rust-lang#129458 (comment) |
Removing |
Thanks. Seems to work (accepts the option), but
after setting diff --git c/samples-loose-types/tests/neohookean/mod.rs w/samples-loose-types/tests/neohookean/mod.rs
index e122c81..234ee75 100644
--- c/samples-loose-types/tests/neohookean/mod.rs
+++ w/samples-loose-types/tests/neohookean/mod.rs
@@ -3,6 +3,7 @@
#![allow(non_snake_case)]
+use std::autodiff::autodiff;
use std::ops::{Add, Mul, Sub};
type Mat3x3 = [[f64; 3]; 3]; This is low priority and perhaps that example needs more changes (it uses second derivatives). |
Code
This occurs while building rustc at 012062a. I used the
config.toml
below and did a clean rebuildx build --stage 1 library
after deleting my build directory.Error output
Full trace: rustc-ice-2024-10-28T18_58_06-3594632.txt
The text was updated successfully, but these errors were encountered: