Skip to content

Commit ce73f7a

Browse files
committed
---
yaml --- r: 93149 b: refs/heads/try c: fd2c012 h: refs/heads/master i: 93147: 8187a67 v: v3
1 parent 9427510 commit ce73f7a

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 0da105a8b7b6b1e0568e8ff20f6ff4b13cc7ecc2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d3e57dca68fde4effdda3e4ae2887aa535fcd6
5-
refs/heads/try: 3ed18bdd42e10f57890befe015f6861d52429e12
5+
refs/heads/try: fd2c0128a7dd3cb19eda253acd01cd7905d1c7dc
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## How to submit a bug report
2+
3+
If you're just reporting a bug, please see:
4+
5+
https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report
6+
17
## Pull request procedure
28

39
Pull requests should be targeted at Rust's `master` branch.

branches/try/src/libsyntax/diagnostic.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ use std::io;
1515
use std::local_data;
1616
use extra::term;
1717

18+
static BUG_REPORT_URL: &'static str =
19+
"https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report";
20+
1821
pub trait Emitter {
1922
fn emit(&self,
2023
cmsp: Option<(@codemap::CodeMap, Span)>,
@@ -143,7 +146,8 @@ impl handler for HandlerT {
143146
}
144147
145148
pub fn ice_msg(msg: &str) -> ~str {
146-
format!("internal compiler error: {}", msg)
149+
format!("internal compiler error: {}\nThis message reflects a bug in the Rust compiler. \
150+
\nWe would appreciate a bug report: {}", msg, BUG_REPORT_URL)
147151
}
148152

149153
pub fn mk_span_handler(handler: @mut handler, cm: @codemap::CodeMap)

0 commit comments

Comments
 (0)