We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
The error message could not evaluate static initializer is oddly reported twice for some static initializers (see tests src/test/compile-fail/issue-14227.rs and src/test/compile-fail/issue-28324.rs, for example).
could not evaluate static initializer
src/test/compile-fail/issue-14227.rs
src/test/compile-fail/issue-28324.rs
This was discovered in #51110, and the suspected cause is a change @oli-obk recently made to error reporting.
CC @oli-obk @eddyb
The text was updated successfully, but these errors were encountered:
Rollup merge of rust-lang#52016 - oli-obk:dedup_static_errors, r=este…
a4846ae
…bank Deduplicate error reports for statics fixes rust-lang#51970
oli-obk
Successfully merging a pull request may close this issue.
The error message
could not evaluate static initializer
is oddly reported twice for some static initializers (see testssrc/test/compile-fail/issue-14227.rs
andsrc/test/compile-fail/issue-28324.rs
, for example).This was discovered in #51110, and the suspected cause is a change @oli-obk recently made to error reporting.
CC @oli-obk @eddyb
The text was updated successfully, but these errors were encountered: