-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Confusing error message when feature generic_const_exprs is used. #100414
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
compiler-errors
added a commit
to compiler-errors/rust
that referenced
this issue
Aug 12, 2022
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 23, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
compiler-errors
added a commit
to compiler-errors/rust
that referenced
this issue
Aug 24, 2022
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Aug 26, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Aug 26, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Aug 26, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Aug 26, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Aug 27, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 28, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Aug 28, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Aug 28, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 28, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 28, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Aug 28, 2022
…tch-err, r=oli-obk Improve const mismatch `FulfillmentError` Fixes rust-lang#100414
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=5c971999babd48f6d0b57e56450996f2
The current output is:
Due to something
true
andfalse
are considered types, not values, also the error span is not any informative.The text was updated successfully, but these errors were encountered: