Update reference to CONTRIBUTING.md#74037
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
ehuss
left a comment
There was a problem hiding this comment.
Since all previous compilers will be reporting a semi-broken link, perhaps it would be a good idea to add a small ## Bug reports section back to CONTRIBUTING.md that linked to the specific section in the guide (https://rustc-dev-guide.rust-lang.org/contributing.html#bug-reports)?
I agree with this but the link here is still useful for me. So, we could use the issue template link for further compiler errors and also use that section for previous ones, I think. |
931c217 to
12b404d
Compare
|
So, the problem here is that someone who sees the ICE message visits the CONTRIBUTING.md first, then they visit the getting started page following "To get started, read the Getting Started guide in the rustc-dev-guide.", and they cannot find any instruction about bug reports there (context: https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Reporting.20an.20ICE). |
|
cc @mark-i-m I'd love to hear your opinion. |
12b404d to
76bbbf6
Compare
76bbbf6 to
85072e3
Compare
|
Okay, updated the CONTRIBUTING.md here. |
|
Sorry for the delay... I'm a bit low on bandwidth these days. I think pointing to the template in the error message and then adding a section to CONTRIBUTING.md that points to the relevant section in the guide seems reasonable. |
|
Ping @Mark-Simulacrum, I think it's ready to review/merge. |
| const BUG_REPORT_URL: &str = "https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.\ | ||
| md#bug-reports"; | ||
| const BUG_REPORT_URL: &str = "https://github.com/rust-lang/rust/issues/new\ | ||
| ?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md"; |
There was a problem hiding this comment.
Hm this looks like a pretty annoying URL to output. I'm of half a mind to say we should create a redirect at, say, rust-lang.org/compiler-bug-report so we can readily update things in the future. It seems fine for the time being though.
|
@bors r+ rollup Thanks! Sorry for the slow review here. |
|
📌 Commit 85072e3 has been approved by |
…imulacrum Update reference to CONTRIBUTING.md CONTRIBUTING.md has been migrated to the rustc-dev-guide but some still refer there. Update them with the appropriate links. Fixes rust-lang#74253
…arth Rollup of 7 pull requests Successful merges: - rust-lang#73421 (Clarify effect of orphan rule changes on From/Into) - rust-lang#74037 (Update reference to CONTRIBUTING.md) - rust-lang#74203 (Enforce the static symbol order.) - rust-lang#74295 (Add and fix BTreeMap comments) - rust-lang#74352 (Use local links in the alloc docs.) - rust-lang#74377 (Move libstd's default feature to libtest) - rust-lang#74381 (Update docs for str::as_bytes_mut.) Failed merges: r? @ghost
CONTRIBUTING.md has been migrated to the rustc-dev-guide but some still refer there.
Update them with the appropriate links.
Fixes #74253