Skip to content

Commit 85072e3

Browse files
committedJul 7, 2020
Update reference to CONTRIBUTING.md
1 parent 70f9d23 commit 85072e3

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed
 

‎CONTRIBUTING.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,12 @@ Thank you for your interest in contributing to Rust!
44

55
To get started, read the [Getting Started] guide in the [rustc-dev-guide].
66

7+
## Bug reports
8+
9+
Did a compiler error message tell you to come here? If you want to create an ICE report,
10+
refer to [this section][contributing-bug-reports] and [open an issue][issue template].
11+
712
[Getting Started]: https://rustc-dev-guide.rust-lang.org/getting-started.html
813
[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/
14+
[contributing-bug-reports]: https://rustc-dev-guide.rust-lang.org/contributing.html#bug-reports
15+
[issue template]: https://github.com/rust-lang/rust/issues/new/choose

‎src/librustc_driver/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ pub const EXIT_SUCCESS: i32 = 0;
6565
/// Exit status code used for compilation failures and invalid flags.
6666
pub const EXIT_FAILURE: i32 = 1;
6767

68-
const BUG_REPORT_URL: &str = "https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.\
69-
md#bug-reports";
68+
const BUG_REPORT_URL: &str = "https://github.com/rust-lang/rust/issues/new\
69+
?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md";
7070

7171
const ICE_REPORT_COMPILER_FLAGS: &[&str] = &["Z", "C", "crate-type"];
7272

‎src/libstd/lib.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@
8585
//! # Contributing changes to the documentation
8686
//!
8787
//! Check out the rust contribution guidelines [here](
88-
//! https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md).
89-
//! The source for this documentation can be found on [Github](https://github.com/rust-lang).
88+
//! https://rustc-dev-guide.rust-lang.org/getting-started.html).
89+
//! The source for this documentation can be found on
90+
//! [GitHub](https://github.com/rust-lang/rust).
9091
//! To contribute changes, make sure you read the guidelines first, then submit
9192
//! pull-requests for your suggested changes.
9293
//!

‎src/test/ui/pattern/const-pat-ice.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ error: internal compiler error: unexpected panic
55

66
note: the compiler unexpectedly panicked. this is a bug.
77

8-
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
8+
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
99

1010
note: rustc VERSION running on TARGET
1111

0 commit comments

Comments
 (0)
Please sign in to comment.