Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

typic::repr(transparent) caused solver overflow #4

Open
Ericson2314 opened this issue Mar 4, 2020 · 2 comments
Open

typic::repr(transparent) caused solver overflow #4

Ericson2314 opened this issue Mar 4, 2020 · 2 comments

Comments

@Ericson2314
Copy link

Sorry in a rush would have to make minimal example later.

@jswrenn
Copy link
Owner

jswrenn commented Mar 4, 2020

Thanks!!! don't think I've actually tested repr(transparent) yet, so I'm not surprised. 😬

@DianaNites
Copy link

Just ran into this.

Example:

#[typic::repr(transparent)]
struct Example;
Errors
error[E0275]: overflow evaluating the requirement `<Example as typic::internal::Type>::HighLevel`
  --> src/lib.rs:76:1
   |
76 | #[typic::repr(transparent)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0275]: overflow evaluating the requirement `<Example as typic::internal::Type>::ReprAlign`
  --> src/lib.rs:76:1
   |
76 | #[typic::repr(transparent)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0275]: overflow evaluating the requirement `<Example as typic::internal::Type>::ReprPacked`
  --> src/lib.rs:76:1
   |
76 | #[typic::repr(transparent)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 3 previous errors

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants