Uh oh!
There was an error while loading. Please reload this page.
min_const_generics diagnostics improvements - #77825
Conversation
rust-highfive
commented
Oct 11, 2020
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
jyn514
commented
Oct 11, 2020
r? @lcnr |
lcnr
commented
Oct 12, 2020
Nice, good job 👍 @bors r+ rollup |
bors
commented
Oct 12, 2020
📌 Commit d7029cb has been approved by |
varkor
commented
Oct 12, 2020
Having taken a look at the errors in practice, I think there are a couple of minor tweaks that could make them more readable, so I'm going to leave a bit more feedback. Sorry for the trouble. @bors r- |
varkor
left a comment
There was a problem hiding this comment.
Maybe we can discuss this further on Zulip if any of my suggestions are contentious.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: varkor <github@varkor.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: varkor <github@varkor.com>
Co-authored-by: varkor <github@varkor.com>
varkor
commented
Oct 12, 2020
I'm happy with the diagnostics now, so if @lcnr is also happy, we're good to go :) |
lcnr
commented
Oct 13, 2020
lgtm @bors r+ |
bors
commented
Oct 13, 2020
📌 Commit 79351b1 has been approved by |
…stic, r=lcnr `min_const_generics` diagnostics improvements As disscussed in [zulip/project-const-generics/non-trivial anonymous constant](https://rust-lang.zulipchat.com/#narrow/stream/260443-project-const-generics/topic/non-trivial.20anonymous.20constants). This is my first PR on the compiler. @lcnr is mentoring me on this PR. Related to rust-lang#60551.
…stic, r=lcnr `min_const_generics` diagnostics improvements As disscussed in [zulip/project-const-generics/non-trivial anonymous constant](https://rust-lang.zulipchat.com/#narrow/stream/260443-project-const-generics/topic/non-trivial.20anonymous.20constants). This is my first PR on the compiler. @lcnr is mentoring me on this PR. Related to rust-lang#60551.
Rollup of 14 pull requests Successful merges: - rust-lang#77239 (Enable building Cargo for aarch64-apple-darwin) - rust-lang#77569 (BTreeMap: type-specific variants of node_as_mut and cast_unchecked) - rust-lang#77719 (Remove unnecessary rustc_const_stable attributes.) - rust-lang#77722 (Remove unsafety from sys/unsupported and add deny(unsafe_op_in_unsafe_fn).) - rust-lang#77725 (Add regression issue template) - rust-lang#77776 ( Give an error when running `x.py test --stage 0 src/test/ui`) - rust-lang#77786 (Mention rustdoc in `x.py setup`) - rust-lang#77825 (`min_const_generics` diagnostics improvements) - rust-lang#77868 (Include `llvm-dis`, `llc` and `opt` in `llvm-tools-preview` component) - rust-lang#77884 (Use Option::unwrap_or instead of open-coding it) - rust-lang#77886 (Replace trivial bool matches with the `matches!` macro) - rust-lang#77892 (Replace absolute paths with relative ones) - rust-lang#77895 (Include aarch64-apple-darwin in the dist manifests) - rust-lang#77909 (bootstrap: set correct path for the build-manifest binary) Failed merges: - rust-lang#77902 (Include aarch64-pc-windows-msvc in the dist manifests) r? `@ghost`
As disscussed in zulip/project-const-generics/non-trivial anonymous constant.
This is my first PR on the compiler.
@lcnr is mentoring me on this PR.
Related to #60551.