Skip to content

Commit b06b114

Browse files
committed
Auto merge of #6531 - alexcrichton:report-elsewhere, r=ehuss
Report fix bugs to Rust instead of Cargo I originally opted to report bugs to Cargo instead of Rust because I was afraid of the implementation of `cargo fix` itself. These seem to all be weeded out now (largely at least), and the overwhelming majority of bugs are now rust-lang/rust suggestion bugs. Let's suggest reporting bugs directly there!
2 parents d92bd3a + 1fc4ba8 commit b06b114

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/cargo/util/diagnostic_server.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ const PLEASE_REPORT_THIS_BUG: &str =
2323
and we would appreciate a bug report! You're likely to see \n\
2424
a number of compiler warnings after this message which cargo\n\
2525
attempted to fix but failed. If you could open an issue at\n\
26-
https://github.com/rust-lang/cargo/issues\n\
27-
quoting the full output of this command we'd be very appreciative!\n\n\
26+
https://github.com/rust-lang/rust/issues\n\
27+
quoting the full output of this command we'd be very appreciative!\n\
28+
Note that you may be able to make some more progress in the near-term\n\
29+
fixing code with the `--broken-code` flag\n\n\
2830
";
2931

3032
#[derive(Deserialize, Serialize)]

tests/testsuite/fix.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,10 @@ fn broken_fixes_backed_out() {
155155
and we would appreciate a bug report! You're likely to see \n\
156156
a number of compiler warnings after this message which cargo\n\
157157
attempted to fix but failed. If you could open an issue at\n\
158-
https://github.com/rust-lang/cargo/issues\n\
158+
[..]\n\
159159
quoting the full output of this command we'd be very appreciative!\n\
160+
Note that you may be able to make some more progress in the near-term\n\
161+
fixing code with the `--broken-code` flag\n\
160162
\n\
161163
The following errors were reported:\n\
162164
error: expected one of `!` or `::`, found `rust`\n\

0 commit comments

Comments
 (0)