Skip to content
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

derive-debug-generics test fails with Rust 1.66+ #106

Open
decathorpe opened this issue Jan 13, 2023 · 0 comments
Open

derive-debug-generics test fails with Rust 1.66+ #106

decathorpe opened this issue Jan 13, 2023 · 0 comments

Comments

@decathorpe
Copy link

I'm not sure if this indicative of a problem with the generated code, or if the assumptions in the test code are now just wrong as of Rust 1.66. Either way, I wanted to report it here.

     Running `/builddir/build/BUILD/derivative-2.2.0/target/release/deps/derive_debug_generics-8b29494a2be13c56`
running 1 test
test main ... FAILED
failures:
---- main stdout ----
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `"PhantomField { foo: PhantomData<derive_debug_generics::NoDebug> }"`,
 right: `"PhantomField { foo: PhantomData }"`', tests/derive-debug-generics.rs:91:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
    main
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
error: test failed, to rerun pass `--test derive-debug-generics`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant