File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 3ed18bdd42e10f57890befe015f6861d52429e12
8
+ refs/heads/try2: fd2c0128a7dd3cb19eda253acd01cd7905d1c7dc
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change
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
+
1
7
## Pull request procedure
2
8
3
9
Pull requests should be targeted at Rust's ` master ` branch.
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ use std::io;
15
15
use std:: local_data;
16
16
use extra:: term;
17
17
18
+ static BUG_REPORT_URL : & ' static str =
19
+ "https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report" ;
20
+
18
21
pub trait Emitter {
19
22
fn emit ( & self ,
20
23
cmsp : Option < ( @codemap:: CodeMap , Span ) > ,
@@ -143,7 +146,8 @@ impl handler for HandlerT {
143
146
}
144
147
145
148
pub fn ice_msg(msg: &str) -> ~str {
146
- format!(" internal compiler error: { } ", msg)
149
+ format!("internal compiler error: { } \n This message reflects a bug in the Rust compiler. \
150
+ \n We would appreciate a bug report: {}", msg, BUG_REPORT_URL )
147
151
}
148
152
149
153
pub fn mk_span_handler ( handler : @mut handler , cm : @codemap:: CodeMap )
You can’t perform that action at this time.
0 commit comments