From 9b597a154240b9d46b57c3013a529bcd11f2a961 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 18 Feb 2018 23:26:49 +0100 Subject: [PATCH 1/5] Add rustc --explain back --- src/librustc_errors/emitter.rs | 50 +++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/src/librustc_errors/emitter.rs b/src/librustc_errors/emitter.rs index a49284eb55a46..18900de973398 100644 --- a/src/librustc_errors/emitter.rs +++ b/src/librustc_errors/emitter.rs @@ -21,7 +21,7 @@ use std::io::prelude::*; use std::io; use std::rc::Rc; use term; -use std::collections::HashMap; +use std::collections::{HashMap, HashSet}; use std::cmp::min; use unicode_width; @@ -107,6 +107,7 @@ pub struct EmitterWriter { cm: Option>, short_message: bool, teach: bool, + error_codes: HashSet, } struct FileWithAnnotatedLines { @@ -115,6 +116,30 @@ struct FileWithAnnotatedLines { multiline_depth: usize, } +impl Drop for EmitterWriter { + fn drop(&mut self) { + if !self.short_message && !self.error_codes.is_empty() { + let mut error_codes = self.error_codes.clone().into_iter().collect::>(); + error_codes.sort(); + if error_codes.len() > 1 { + writeln!(self.dst, + "You've got a few errors: {}", + error_codes.join(", ")).expect("failed to give tips..."); + writeln!(self.dst, + "If you want more information on an error, try using \ + \"rustc --explain {}\"", + &error_codes[0]).expect("failed to give tips..."); + } else { + writeln!(self.dst, + "If you want more information on this error, try using \ + \"rustc --explain {}\"", + &error_codes[0]).expect("failed to give tips..."); + } + self.dst.flush().expect("failed to emit errors"); + } + } +} + impl EmitterWriter { pub fn stderr(color_config: ColorConfig, code_map: Option>, @@ -128,6 +153,7 @@ impl EmitterWriter { cm: code_map, short_message, teach, + error_codes: HashSet::new(), } } else { EmitterWriter { @@ -135,6 +161,7 @@ impl EmitterWriter { cm: code_map, short_message, teach, + error_codes: HashSet::new(), } } } @@ -149,6 +176,7 @@ impl EmitterWriter { cm: code_map, short_message, teach, + error_codes: HashSet::new(), } } @@ -975,12 +1003,14 @@ impl EmitterWriter { if primary_span != &&DUMMY_SP { (cm.lookup_char_pos(primary_span.lo()), cm) } else { - emit_to_destination(&buffer.render(), level, &mut self.dst, self.short_message)?; + emit_to_destination(&buffer.render(), level, &mut self.dst, self.short_message, + &mut self.error_codes)?; return Ok(()); } } else { // If we don't have span information, emit and exit - emit_to_destination(&buffer.render(), level, &mut self.dst, self.short_message)?; + emit_to_destination(&buffer.render(), level, &mut self.dst, self.short_message, + &mut self.error_codes)?; return Ok(()); }; if let Ok(pos) = @@ -1153,7 +1183,8 @@ impl EmitterWriter { } // final step: take our styled buffer, render it, then output it - emit_to_destination(&buffer.render(), level, &mut self.dst, self.short_message)?; + emit_to_destination(&buffer.render(), level, &mut self.dst, self.short_message, + &mut self.error_codes)?; Ok(()) @@ -1241,7 +1272,8 @@ impl EmitterWriter { let msg = format!("and {} other candidates", suggestions.len() - MAX_SUGGESTIONS); buffer.puts(row_num, 0, &msg, Style::NoStyle); } - emit_to_destination(&buffer.render(), level, &mut self.dst, self.short_message)?; + emit_to_destination(&buffer.render(), level, &mut self.dst, self.short_message, + &mut self.error_codes)?; } Ok(()) } @@ -1269,7 +1301,7 @@ impl EmitterWriter { draw_col_separator_no_space(&mut buffer, 0, max_line_num_len + 1); } match emit_to_destination(&buffer.render(), level, &mut self.dst, - self.short_message) { + self.short_message, &mut self.error_codes) { Ok(()) => (), Err(e) => panic!("failed to emit error: {}", e) } @@ -1362,7 +1394,8 @@ fn overlaps(a1: &Annotation, a2: &Annotation, padding: usize) -> bool { fn emit_to_destination(rendered_buffer: &Vec>, lvl: &Level, dst: &mut Destination, - short_message: bool) + short_message: bool, + error_codes: &mut HashSet) -> io::Result<()> { use lock; @@ -1383,6 +1416,9 @@ fn emit_to_destination(rendered_buffer: &Vec>, for part in line { dst.apply_style(lvl.clone(), part.style)?; write!(dst, "{}", part.text)?; + if !short_message && part.text.len() == 12 && part.text.starts_with("error[E") { + error_codes.insert(part.text[6..11].to_owned()); + } dst.reset_attrs()?; } if !short_message { From 1dc2015a9d71f3ef8191f6e0ca39b9154c87adfe Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 19 Feb 2018 20:53:04 +0100 Subject: [PATCH 2/5] Update tools code --- src/tools/compiletest/src/json.rs | 19 ------------- src/tools/compiletest/src/runtest.rs | 40 +++++++++++++++------------- 2 files changed, 21 insertions(+), 38 deletions(-) diff --git a/src/tools/compiletest/src/json.rs b/src/tools/compiletest/src/json.rs index 99d7dc7816649..8e9cd1a12faac 100644 --- a/src/tools/compiletest/src/json.rs +++ b/src/tools/compiletest/src/json.rs @@ -57,25 +57,6 @@ struct DiagnosticCode { explanation: Option, } -pub fn extract_rendered(output: &str, proc_res: &ProcRes) -> String { - output.lines() - .filter_map(|line| if line.starts_with('{') { - match json::decode::(line) { - Ok(diagnostic) => diagnostic.rendered, - Err(error) => { - proc_res.fatal(Some(&format!("failed to decode compiler output as json: \ - `{}`\noutput: {}\nline: {}", - error, - line, - output))); - } - } - } else { - None - }) - .collect() -} - pub fn parse_output(file_name: &str, output: &str, proc_res: &ProcRes) -> Vec { output.lines() .flat_map(|line| parse_line(file_name, line, output, proc_res)) diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index c0f82d56d8031..e5bee56de8035 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -248,7 +248,7 @@ impl<'test> TestCx<'test> { } fn run_cfail_test(&self) { - let proc_res = self.compile_test(); + let proc_res = self.compile_test(&[]); self.check_if_test_should_compile(&proc_res); self.check_no_compiler_crash(&proc_res); @@ -267,7 +267,7 @@ impl<'test> TestCx<'test> { } fn run_rfail_test(&self) { - let proc_res = self.compile_test(); + let proc_res = self.compile_test(&[]); if !proc_res.status.success() { self.fatal_proc_rec("compilation failed!", &proc_res); @@ -309,7 +309,7 @@ impl<'test> TestCx<'test> { } fn run_rpass_test(&self) { - let proc_res = self.compile_test(); + let proc_res = self.compile_test(&[]); if !proc_res.status.success() { self.fatal_proc_rec("compilation failed!", &proc_res); @@ -336,7 +336,7 @@ impl<'test> TestCx<'test> { return self.run_rpass_test(); } - let mut proc_res = self.compile_test(); + let mut proc_res = self.compile_test(&[]); if !proc_res.status.success() { self.fatal_proc_rec("compilation failed!", &proc_res); @@ -578,7 +578,7 @@ impl<'test> TestCx<'test> { let mut cmds = commands.join("\n"); // compile test file (it should have 'compile-flags:-g' in the header) - let compiler_run_result = self.compile_test(); + let compiler_run_result = self.compile_test(&[]); if !compiler_run_result.status.success() { self.fatal_proc_rec("compilation failed!", &compiler_run_result); } @@ -835,7 +835,7 @@ impl<'test> TestCx<'test> { fn run_debuginfo_lldb_test_no_opt(&self) { // compile test file (it should have 'compile-flags:-g' in the header) - let compile_result = self.compile_test(); + let compile_result = self.compile_test(&[]); if !compile_result.status.success() { self.fatal_proc_rec("compilation failed!", &compile_result); } @@ -1272,12 +1272,15 @@ impl<'test> TestCx<'test> { } } - fn compile_test(&self) -> ProcRes { + fn compile_test(&self, extra_args: &[&'static str]) -> ProcRes { let mut rustc = self.make_compile_args( &self.testpaths.file, TargetLocation::ThisFile(self.make_exe_name()), ); + if !extra_args.is_empty() { + rustc.args(extra_args); + } rustc.arg("-L").arg(&self.aux_output_dir_name()); match self.config.mode { @@ -1629,8 +1632,11 @@ impl<'test> TestCx<'test> { .iter() .any(|s| s.starts_with("--error-format")) { - rustc.args(&["--error-format", "json"]); - }, + // In case no "--error-format" has been given in the test, we'll compile + // a first time to get the compiler's output then compile with + // "--error-format json" to check if all expected errors are actually there + // and that no new one appeared. + } MirOpt => { rustc.args(&[ "-Zdump-mir=all", @@ -2109,7 +2115,7 @@ impl<'test> TestCx<'test> { fn run_codegen_units_test(&self) { assert!(self.revision.is_none(), "revisions not relevant here"); - let proc_res = self.compile_test(); + let proc_res = self.compile_test(&[]); if !proc_res.status.success() { self.fatal_proc_rec("compilation failed!", &proc_res); @@ -2493,7 +2499,7 @@ impl<'test> TestCx<'test> { .iter() .any(|s| s.contains("--error-format")); - let proc_res = self.compile_test(); + let proc_res = self.compile_test(&[]); self.check_if_test_should_compile(&proc_res); let expected_stderr_path = self.expected_output_path(UI_STDERR); @@ -2505,13 +2511,8 @@ impl<'test> TestCx<'test> { let normalized_stdout = self.normalize_output(&proc_res.stdout, &self.props.normalize_stdout); - let stderr = if explicit { - proc_res.stderr.clone() - } else { - json::extract_rendered(&proc_res.stderr, &proc_res) - }; - - let normalized_stderr = self.normalize_output(&stderr, &self.props.normalize_stderr); + let normalized_stderr = self.normalize_output(&proc_res.stderr, + &self.props.normalize_stderr); let mut errors = 0; errors += self.compare_output("stdout", &normalized_stdout, &expected_stdout); @@ -2544,6 +2545,7 @@ impl<'test> TestCx<'test> { } } if !explicit { + let proc_res = self.compile_test(&["--error-format", "json"]); if !expected_errors.is_empty() || !proc_res.status.success() { // "// error-pattern" comments self.check_expected_errors(expected_errors, &proc_res); @@ -2555,7 +2557,7 @@ impl<'test> TestCx<'test> { } fn run_mir_opt_test(&self) { - let proc_res = self.compile_test(); + let proc_res = self.compile_test(&[]); if !proc_res.status.success() { self.fatal_proc_rec("compilation failed!", &proc_res); From 5747fd6611a77d297d9559f2365a554bd3dd6610 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 19 Feb 2018 21:40:25 +0100 Subject: [PATCH 3/5] Update ui tests --- src/test/ui-fulldeps/custom-derive/issue-36935.stderr | 2 ++ src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr | 1 + src/test/ui-fulldeps/proc-macro/load-panic.stderr | 2 ++ src/test/ui-fulldeps/proc-macro/signature.stderr | 1 + src/test/ui/anonymous-higher-ranked-lifetime.stderr | 1 + src/test/ui/arbitrary-self-types-not-object-safe.stderr | 1 + src/test/ui/asm-out-assign-imm.stderr | 1 + src/test/ui/associated-const-impl-wrong-lifetime.stderr | 1 + src/test/ui/associated-const-impl-wrong-type.stderr | 1 + .../associated-type-projection-from-multiple-supertraits.stderr | 2 ++ .../ui/associated-types-ICE-when-projecting-out-of-err.stderr | 1 + src/test/ui/associated-types-in-ambiguous-context.stderr | 1 + src/test/ui/attr-usage-repr.stderr | 1 + src/test/ui/augmented-assignments.stderr | 2 ++ src/test/ui/binary-op-on-double-ref.stderr | 1 + src/test/ui/blind-item-item-shadow.stderr | 1 + src/test/ui/block-result/block-must-not-have-result-do.stderr | 1 + src/test/ui/block-result/block-must-not-have-result-res.stderr | 1 + .../ui/block-result/block-must-not-have-result-while.stderr | 1 + src/test/ui/block-result/consider-removing-last-semi.stderr | 1 + src/test/ui/block-result/issue-11714.stderr | 1 + src/test/ui/block-result/issue-13428.stderr | 1 + src/test/ui/block-result/issue-13624.stderr | 1 + src/test/ui/block-result/issue-20862.stderr | 2 ++ src/test/ui/block-result/issue-22645.stderr | 2 ++ src/test/ui/block-result/issue-3563.stderr | 1 + src/test/ui/block-result/issue-5500.stderr | 1 + src/test/ui/block-result/unexpected-return-on-unit.stderr | 1 + src/test/ui/bogus-tag.stderr | 1 + src/test/ui/borrowck/borrowck-box-insensitivity.stderr | 2 ++ src/test/ui/borrowck/borrowck-closures-two-mut.stderr | 1 + src/test/ui/borrowck/borrowck-escaping-closure-error-1.stderr | 1 + src/test/ui/borrowck/borrowck-escaping-closure-error-2.stderr | 1 + src/test/ui/borrowck/borrowck-in-static.stderr | 1 + src/test/ui/borrowck/borrowck-move-error-with-note.stderr | 2 ++ src/test/ui/borrowck/borrowck-move-out-of-vec-tail.stderr | 1 + src/test/ui/borrowck/borrowck-reinit.stderr | 1 + .../ui/borrowck/borrowck-report-with-custom-diagnostic.stderr | 2 ++ src/test/ui/borrowck/borrowck-vec-pattern-nesting.stderr | 2 ++ src/test/ui/borrowck/immutable-arg.stderr | 1 + src/test/ui/borrowck/issue-41962.stderr | 1 + src/test/ui/borrowck/mut-borrow-in-loop.stderr | 1 + src/test/ui/borrowck/mut-borrow-outside-loop.stderr | 1 + src/test/ui/borrowck/regions-bound-missing-bound-in-impl.stderr | 2 ++ ...unboxed-closures-move-upvar-from-non-once-ref-closure.stderr | 1 + src/test/ui/cast-as-bool.stderr | 1 + src/test/ui/cast-errors-issue-43825.stderr | 1 + src/test/ui/cast-rfc0401-2.stderr | 1 + src/test/ui/cast-to-unsized-trait-object-suggestion.stderr | 1 + src/test/ui/casts-differing-anon.stderr | 1 + src/test/ui/casts-issue-46365.stderr | 1 + src/test/ui/changing-crates.stderr | 1 + src/test/ui/check_match/issue-35609.stderr | 1 + .../ui/closure-expected-type/expect-region-supply-region.stderr | 1 + src/test/ui/closure_context/issue-26046-fn-mut.stderr | 1 + src/test/ui/closure_context/issue-26046-fn-once.stderr | 1 + src/test/ui/closure_context/issue-42065.stderr | 1 + .../coherence-overlapping-inherent-impl-trait.stderr | 1 + src/test/ui/codemap_tests/empty_span.stderr | 1 + src/test/ui/codemap_tests/huge_multispan_highlight.stderr | 1 + src/test/ui/codemap_tests/issue-11715.stderr | 1 + src/test/ui/codemap_tests/issue-28308.stderr | 1 + src/test/ui/codemap_tests/one_line.stderr | 1 + src/test/ui/codemap_tests/overlapping_inherent_impls.stderr | 1 + src/test/ui/codemap_tests/overlapping_spans.stderr | 1 + src/test/ui/codemap_tests/tab.stderr | 2 ++ src/test/ui/codemap_tests/tab_3.stderr | 1 + src/test/ui/codemap_tests/two_files.stderr | 1 + src/test/ui/codemap_tests/unicode_2.stderr | 1 + src/test/ui/coercion-missing-tail-expected-type.stderr | 1 + src/test/ui/coherence-error-suppression.stderr | 1 + src/test/ui/coherence-impls-copy.stderr | 2 ++ src/test/ui/coherence-overlap-downstream-inherent.stderr | 1 + src/test/ui/coherence-overlap-downstream.stderr | 1 + src/test/ui/coherence-overlap-issue-23516-inherent.stderr | 1 + src/test/ui/coherence-overlap-issue-23516.stderr | 1 + src/test/ui/coherence-overlap-upstream-inherent.stderr | 1 + src/test/ui/coherence-overlap-upstream.stderr | 1 + src/test/ui/command-line-diagnostics.stderr | 1 + src/test/ui/compare-method/proj-outlives-region.stderr | 1 + src/test/ui/compare-method/region-extra-2.stderr | 1 + src/test/ui/compare-method/region-extra.stderr | 1 + src/test/ui/compare-method/region-unrelated.stderr | 1 + src/test/ui/compare-method/reordered-type-param.stderr | 1 + src/test/ui/compare-method/trait-bound-on-type-parameter.stderr | 1 + src/test/ui/compare-method/traits-misc-mismatch-1.stderr | 1 + src/test/ui/compare-method/traits-misc-mismatch-2.stderr | 1 + src/test/ui/const-deref-ptr.stderr | 1 + src/test/ui/const-eval-overflow-2.stderr | 1 + src/test/ui/const-eval-overflow-4.stderr | 1 + src/test/ui/const-eval-span.stderr | 1 + src/test/ui/const-eval/issue-43197.stderr | 1 + src/test/ui/const-expr-addr-operator.stderr | 1 + src/test/ui/const-fn-error.stderr | 2 ++ src/test/ui/const-fn-mismatch.stderr | 1 + src/test/ui/const-fn-not-in-trait.stderr | 1 + src/test/ui/const-len-underflow-separate-spans.stderr | 1 + src/test/ui/const-pattern-irrefutable.stderr | 1 + src/test/ui/const-pattern-not-const-evaluable.stderr | 1 + src/test/ui/const-unsized.stderr | 1 + src/test/ui/cycle-trait-supertrait-indirect.stderr | 1 + src/test/ui/deref-suggestion.stderr | 1 + src/test/ui/derived-errors/issue-31997-1.stderr | 1 + src/test/ui/did_you_mean/E0178.stderr | 1 + src/test/ui/did_you_mean/bad-assoc-pat.stderr | 1 + src/test/ui/did_you_mean/bad-assoc-ty.stderr | 2 ++ .../did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr | 1 + .../did_you_mean/issue-21659-show-relevant-trait-impls-2.stderr | 1 + src/test/ui/did_you_mean/issue-31424.stderr | 1 + src/test/ui/did_you_mean/issue-34126.stderr | 1 + src/test/ui/did_you_mean/issue-34337.stderr | 1 + src/test/ui/did_you_mean/issue-35937.stderr | 2 ++ src/test/ui/did_you_mean/issue-36798.stderr | 1 + src/test/ui/did_you_mean/issue-36798_unknown_field.stderr | 1 + src/test/ui/did_you_mean/issue-37139.stderr | 1 + .../issue-38054-do-not-show-unresolved-names.stderr | 1 + src/test/ui/did_you_mean/issue-38147-1.stderr | 1 + src/test/ui/did_you_mean/issue-38147-2.stderr | 1 + src/test/ui/did_you_mean/issue-38147-3.stderr | 1 + src/test/ui/did_you_mean/issue-38147-4.stderr | 1 + src/test/ui/did_you_mean/issue-39544.stderr | 2 ++ src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr | 1 + src/test/ui/did_you_mean/issue-40006.stderr | 1 + src/test/ui/did_you_mean/issue-40823.stderr | 1 + .../ui/did_you_mean/issue-42599_available_fields_note.stderr | 2 ++ src/test/ui/did_you_mean/issue-42764.stderr | 1 + .../ui/did_you_mean/issue-43871-enum-instead-of-variant.stderr | 2 ++ src/test/ui/did_you_mean/recursion_limit.stderr | 1 + src/test/ui/did_you_mean/recursion_limit_deref.stderr | 2 ++ .../trait-object-reference-without-parens-suggestion.stderr | 2 ++ src/test/ui/discrim-overflow-2.stderr | 1 + src/test/ui/discrim-overflow.stderr | 1 + src/test/ui/double-import.stderr | 1 + src/test/ui/dropck/dropck-eyepatch-extern-crate.stderr | 1 + src/test/ui/dropck/dropck-eyepatch-implies-unsafe-impl.stderr | 1 + src/test/ui/dropck/dropck-eyepatch-reorder.stderr | 1 + src/test/ui/dropck/dropck-eyepatch.stderr | 1 + src/test/ui/e0119/complex-impl.stderr | 2 ++ src/test/ui/e0119/conflict-with-std.stderr | 1 + src/test/ui/e0119/issue-23563.stderr | 1 + src/test/ui/e0119/issue-27403.stderr | 1 + src/test/ui/e0119/issue-28981.stderr | 2 ++ src/test/ui/e0119/so-37347311.stderr | 1 + src/test/ui/empty-struct-unit-expr.stderr | 1 + src/test/ui/enum-and-module-in-same-scope.stderr | 1 + src/test/ui/error-codes/E0004-2.stderr | 1 + src/test/ui/error-codes/E0004.stderr | 1 + src/test/ui/error-codes/E0005.stderr | 1 + src/test/ui/error-codes/E0007.stderr | 2 ++ src/test/ui/error-codes/E0008.stderr | 1 + src/test/ui/error-codes/E0009.stderr | 1 + src/test/ui/error-codes/E0010-teach.stderr | 1 + src/test/ui/error-codes/E0010.stderr | 1 + src/test/ui/error-codes/E0017.stderr | 2 ++ src/test/ui/error-codes/E0023.stderr | 1 + src/test/ui/error-codes/E0025.stderr | 1 + src/test/ui/error-codes/E0026-teach.stderr | 1 + src/test/ui/error-codes/E0026.stderr | 1 + src/test/ui/error-codes/E0027-teach.stderr | 1 + src/test/ui/error-codes/E0027.stderr | 1 + src/test/ui/error-codes/E0029-teach.stderr | 2 ++ src/test/ui/error-codes/E0029.stderr | 2 ++ src/test/ui/error-codes/E0030-teach.stderr | 1 + src/test/ui/error-codes/E0030.stderr | 1 + src/test/ui/error-codes/E0033-teach.stderr | 2 ++ src/test/ui/error-codes/E0033.stderr | 2 ++ src/test/ui/error-codes/E0034.stderr | 1 + src/test/ui/error-codes/E0038.stderr | 1 + src/test/ui/error-codes/E0040.stderr | 1 + src/test/ui/error-codes/E0044.stderr | 1 + src/test/ui/error-codes/E0045.stderr | 1 + src/test/ui/error-codes/E0049.stderr | 1 + src/test/ui/error-codes/E0050.stderr | 1 + src/test/ui/error-codes/E0054.stderr | 1 + src/test/ui/error-codes/E0055.stderr | 1 + src/test/ui/error-codes/E0057.stderr | 1 + src/test/ui/error-codes/E0059.stderr | 1 + src/test/ui/error-codes/E0060.stderr | 1 + src/test/ui/error-codes/E0061.stderr | 1 + src/test/ui/error-codes/E0062.stderr | 1 + src/test/ui/error-codes/E0063.stderr | 1 + src/test/ui/error-codes/E0067.stderr | 2 ++ src/test/ui/error-codes/E0069.stderr | 1 + src/test/ui/error-codes/E0070.stderr | 2 ++ src/test/ui/error-codes/E0071.stderr | 1 + src/test/ui/error-codes/E0075.stderr | 1 + src/test/ui/error-codes/E0076.stderr | 1 + src/test/ui/error-codes/E0077.stderr | 1 + src/test/ui/error-codes/E0080.stderr | 1 + src/test/ui/error-codes/E0081.stderr | 1 + src/test/ui/error-codes/E0084.stderr | 1 + src/test/ui/error-codes/E0087.stderr | 1 + src/test/ui/error-codes/E0088.stderr | 1 + src/test/ui/error-codes/E0089.stderr | 1 + src/test/ui/error-codes/E0090.stderr | 1 + src/test/ui/error-codes/E0091.stderr | 1 + src/test/ui/error-codes/E0092.stderr | 1 + src/test/ui/error-codes/E0093.stderr | 1 + src/test/ui/error-codes/E0094.stderr | 1 + src/test/ui/error-codes/E0106.stderr | 1 + src/test/ui/error-codes/E0107.stderr | 1 + src/test/ui/error-codes/E0109.stderr | 1 + src/test/ui/error-codes/E0110.stderr | 1 + src/test/ui/error-codes/E0116.stderr | 1 + src/test/ui/error-codes/E0117.stderr | 2 ++ src/test/ui/error-codes/E0118.stderr | 1 + src/test/ui/error-codes/E0119.stderr | 1 + src/test/ui/error-codes/E0120.stderr | 1 + src/test/ui/error-codes/E0121.stderr | 1 + src/test/ui/error-codes/E0124.stderr | 1 + src/test/ui/error-codes/E0128.stderr | 1 + src/test/ui/error-codes/E0130.stderr | 1 + src/test/ui/error-codes/E0131.stderr | 1 + src/test/ui/error-codes/E0132.stderr | 1 + src/test/ui/error-codes/E0133.stderr | 1 + src/test/ui/error-codes/E0137.stderr | 1 + src/test/ui/error-codes/E0138.stderr | 1 + src/test/ui/error-codes/E0152.stderr | 1 + src/test/ui/error-codes/E0161.stderr | 2 ++ src/test/ui/error-codes/E0162.stderr | 1 + src/test/ui/error-codes/E0164.stderr | 1 + src/test/ui/error-codes/E0165.stderr | 1 + src/test/ui/error-codes/E0184.stderr | 1 + src/test/ui/error-codes/E0185.stderr | 1 + src/test/ui/error-codes/E0186.stderr | 1 + src/test/ui/error-codes/E0191.stderr | 1 + src/test/ui/error-codes/E0192.stderr | 1 + src/test/ui/error-codes/E0194.stderr | 1 + src/test/ui/error-codes/E0195.stderr | 1 + src/test/ui/error-codes/E0197.stderr | 1 + src/test/ui/error-codes/E0198.stderr | 1 + src/test/ui/error-codes/E0199.stderr | 1 + src/test/ui/error-codes/E0200.stderr | 1 + src/test/ui/error-codes/E0201.stderr | 1 + src/test/ui/error-codes/E0206.stderr | 2 ++ src/test/ui/error-codes/E0207.stderr | 1 + src/test/ui/error-codes/E0214.stderr | 1 + src/test/ui/error-codes/E0220.stderr | 2 ++ src/test/ui/error-codes/E0221.stderr | 1 + src/test/ui/error-codes/E0223.stderr | 1 + src/test/ui/error-codes/E0225.stderr | 1 + src/test/ui/error-codes/E0229.stderr | 1 + src/test/ui/error-codes/E0232.stderr | 1 + src/test/ui/error-codes/E0243.stderr | 1 + src/test/ui/error-codes/E0244.stderr | 1 + src/test/ui/error-codes/E0252.stderr | 1 + src/test/ui/error-codes/E0253.stderr | 1 + src/test/ui/error-codes/E0254.stderr | 1 + src/test/ui/error-codes/E0255.stderr | 1 + src/test/ui/error-codes/E0259.stderr | 1 + src/test/ui/error-codes/E0260.stderr | 1 + src/test/ui/error-codes/E0261.stderr | 1 + src/test/ui/error-codes/E0262.stderr | 1 + src/test/ui/error-codes/E0263.stderr | 1 + src/test/ui/error-codes/E0264.stderr | 1 + src/test/ui/error-codes/E0267.stderr | 1 + src/test/ui/error-codes/E0268.stderr | 1 + src/test/ui/error-codes/E0271.stderr | 1 + src/test/ui/error-codes/E0275.stderr | 1 + src/test/ui/error-codes/E0276.stderr | 1 + src/test/ui/error-codes/E0277-2.stderr | 1 + src/test/ui/error-codes/E0277.stderr | 1 + src/test/ui/error-codes/E0282.stderr | 1 + src/test/ui/error-codes/E0283.stderr | 1 + src/test/ui/error-codes/E0296.stderr | 1 + src/test/ui/error-codes/E0297.stderr | 1 + src/test/ui/error-codes/E0301.stderr | 1 + src/test/ui/error-codes/E0302.stderr | 1 + src/test/ui/error-codes/E0303.stderr | 2 ++ src/test/ui/error-codes/E0308-4.stderr | 1 + src/test/ui/error-codes/E0308.stderr | 1 + src/test/ui/error-codes/E0365.stderr | 1 + src/test/ui/error-codes/E0370.stderr | 1 + src/test/ui/error-codes/E0374.stderr | 1 + src/test/ui/error-codes/E0375.stderr | 1 + src/test/ui/error-codes/E0376.stderr | 1 + src/test/ui/error-codes/E0388.stderr | 2 ++ src/test/ui/error-codes/E0389.stderr | 1 + src/test/ui/error-codes/E0390.stderr | 1 + src/test/ui/error-codes/E0392.stderr | 1 + src/test/ui/error-codes/E0393.stderr | 1 + src/test/ui/error-codes/E0394.stderr | 1 + src/test/ui/error-codes/E0395.stderr | 1 + src/test/ui/error-codes/E0396.stderr | 1 + src/test/ui/error-codes/E0401.stderr | 1 + src/test/ui/error-codes/E0403.stderr | 1 + src/test/ui/error-codes/E0404.stderr | 1 + src/test/ui/error-codes/E0405.stderr | 1 + src/test/ui/error-codes/E0407.stderr | 1 + src/test/ui/error-codes/E0408.stderr | 1 + src/test/ui/error-codes/E0411.stderr | 1 + src/test/ui/error-codes/E0412.stderr | 1 + src/test/ui/error-codes/E0415.stderr | 1 + src/test/ui/error-codes/E0416.stderr | 1 + src/test/ui/error-codes/E0423.stderr | 1 + src/test/ui/error-codes/E0424.stderr | 1 + src/test/ui/error-codes/E0425.stderr | 1 + src/test/ui/error-codes/E0426.stderr | 1 + src/test/ui/error-codes/E0428.stderr | 1 + src/test/ui/error-codes/E0429.stderr | 1 + src/test/ui/error-codes/E0430.stderr | 2 ++ src/test/ui/error-codes/E0431.stderr | 1 + src/test/ui/error-codes/E0432.stderr | 1 + src/test/ui/error-codes/E0433.stderr | 1 + src/test/ui/error-codes/E0434.stderr | 1 + src/test/ui/error-codes/E0435.stderr | 1 + src/test/ui/error-codes/E0437.stderr | 1 + src/test/ui/error-codes/E0438.stderr | 1 + src/test/ui/error-codes/E0439.stderr | 1 + src/test/ui/error-codes/E0440.stderr | 1 + src/test/ui/error-codes/E0441.stderr | 1 + src/test/ui/error-codes/E0442.stderr | 1 + src/test/ui/error-codes/E0443.stderr | 1 + src/test/ui/error-codes/E0444.stderr | 1 + src/test/ui/error-codes/E0445.stderr | 1 + src/test/ui/error-codes/E0446.stderr | 1 + src/test/ui/error-codes/E0449.stderr | 1 + src/test/ui/error-codes/E0451.stderr | 1 + src/test/ui/error-codes/E0452.stderr | 1 + src/test/ui/error-codes/E0453.stderr | 1 + src/test/ui/error-codes/E0454.stderr | 1 + src/test/ui/error-codes/E0458.stderr | 2 ++ src/test/ui/error-codes/E0459.stderr | 1 + src/test/ui/error-codes/E0463.stderr | 1 + src/test/ui/error-codes/E0478.stderr | 1 + src/test/ui/error-codes/E0492.stderr | 1 + src/test/ui/error-codes/E0494.stderr | 1 + src/test/ui/error-codes/E0496.stderr | 1 + src/test/ui/error-codes/E0499.stderr | 1 + src/test/ui/error-codes/E0502.stderr | 1 + src/test/ui/error-codes/E0503.stderr | 1 + src/test/ui/error-codes/E0504.stderr | 1 + src/test/ui/error-codes/E0505.stderr | 1 + src/test/ui/error-codes/E0507.stderr | 1 + src/test/ui/error-codes/E0509.stderr | 1 + src/test/ui/error-codes/E0511.stderr | 1 + src/test/ui/error-codes/E0512.stderr | 1 + src/test/ui/error-codes/E0516.stderr | 1 + src/test/ui/error-codes/E0517.stderr | 1 + src/test/ui/error-codes/E0518.stderr | 1 + src/test/ui/error-codes/E0520.stderr | 1 + src/test/ui/error-codes/E0522.stderr | 2 ++ src/test/ui/error-codes/E0527.stderr | 1 + src/test/ui/error-codes/E0528.stderr | 1 + src/test/ui/error-codes/E0529.stderr | 1 + src/test/ui/error-codes/E0530.stderr | 1 + src/test/ui/error-codes/E0532.stderr | 1 + src/test/ui/error-codes/E0534.stderr | 1 + src/test/ui/error-codes/E0558.stderr | 1 + src/test/ui/error-codes/E0559.stderr | 1 + src/test/ui/error-codes/E0560.stderr | 1 + src/test/ui/error-codes/E0565-1.stderr | 1 + src/test/ui/error-codes/E0565.stderr | 1 + src/test/ui/error-codes/E0572.stderr | 1 + src/test/ui/error-codes/E0582.stderr | 1 + src/test/ui/error-codes/E0585.stderr | 1 + src/test/ui/error-codes/E0586.stderr | 1 + src/test/ui/error-codes/E0597.stderr | 1 + src/test/ui/error-codes/E0599.stderr | 1 + src/test/ui/error-codes/E0600.stderr | 1 + src/test/ui/error-codes/E0602.stderr | 1 + src/test/ui/error-codes/E0603.stderr | 1 + src/test/ui/error-codes/E0604.stderr | 1 + src/test/ui/error-codes/E0605.stderr | 1 + src/test/ui/error-codes/E0606.stderr | 1 + src/test/ui/error-codes/E0607.stderr | 1 + src/test/ui/error-codes/E0608.stderr | 1 + src/test/ui/error-codes/E0609.stderr | 1 + src/test/ui/error-codes/E0610.stderr | 1 + src/test/ui/error-codes/E0611.stderr | 1 + src/test/ui/error-codes/E0612.stderr | 1 + src/test/ui/error-codes/E0614.stderr | 1 + src/test/ui/error-codes/E0615.stderr | 1 + src/test/ui/error-codes/E0616.stderr | 1 + src/test/ui/error-codes/E0617.stderr | 1 + src/test/ui/error-codes/E0618.stderr | 1 + src/test/ui/error-codes/E0620.stderr | 1 + .../ui/error-codes/E0621-does-not-trigger-for-closures.stderr | 1 + src/test/ui/error-codes/E0622.stderr | 1 + src/test/ui/error-codes/E0624.stderr | 1 + src/test/ui/error-codes/E0637.stderr | 1 + src/test/ui/error-codes/E0657.stderr | 1 + src/test/ui/error-codes/E0658.stderr | 1 + src/test/ui/error-codes/E0659.stderr | 1 + src/test/ui/fat-ptr-cast.stderr | 2 ++ src/test/ui/feature-gate-abi-msp430-interrupt.stderr | 1 + src/test/ui/feature-gate-abi.stderr | 1 + src/test/ui/feature-gate-abi_unadjusted.stderr | 1 + src/test/ui/feature-gate-advanced-slice-features.stderr | 1 + src/test/ui/feature-gate-allocator_internals.stderr | 1 + .../ui/feature-gate-allow-internal-unsafe-nested-macro.stderr | 1 + .../ui/feature-gate-allow-internal-unstable-nested-macro.stderr | 1 + src/test/ui/feature-gate-allow-internal-unstable-struct.stderr | 1 + src/test/ui/feature-gate-allow-internal-unstable.stderr | 1 + src/test/ui/feature-gate-allow_fail.stderr | 1 + src/test/ui/feature-gate-arbitrary-self-types.stderr | 1 + .../ui/feature-gate-arbitrary_self_types-raw-pointer.stderr | 1 + src/test/ui/feature-gate-asm.stderr | 1 + src/test/ui/feature-gate-asm2.stderr | 1 + src/test/ui/feature-gate-assoc-type-defaults.stderr | 1 + src/test/ui/feature-gate-box-expr.stderr | 1 + src/test/ui/feature-gate-box_patterns.stderr | 1 + src/test/ui/feature-gate-box_syntax.stderr | 1 + src/test/ui/feature-gate-catch_expr.stderr | 1 + src/test/ui/feature-gate-cfg-target-feature.stderr | 1 + src/test/ui/feature-gate-cfg-target-has-atomic.stderr | 1 + src/test/ui/feature-gate-cfg-target-thread-local.stderr | 1 + src/test/ui/feature-gate-cfg-target-vendor.stderr | 1 + src/test/ui/feature-gate-clone-closures.stderr | 1 + src/test/ui/feature-gate-compiler-builtins.stderr | 1 + src/test/ui/feature-gate-concat_idents.stderr | 1 + src/test/ui/feature-gate-concat_idents2.stderr | 1 + src/test/ui/feature-gate-concat_idents3.stderr | 1 + src/test/ui/feature-gate-conservative_impl_trait.stderr | 1 + src/test/ui/feature-gate-const-indexing.stderr | 1 + src/test/ui/feature-gate-const_fn.stderr | 2 ++ src/test/ui/feature-gate-copy-closures.stderr | 1 + src/test/ui/feature-gate-crate_in_paths.stderr | 1 + src/test/ui/feature-gate-crate_visibility_modifier.stderr | 1 + src/test/ui/feature-gate-custom_attribute.stderr | 1 + src/test/ui/feature-gate-custom_attribute2.stderr | 1 + src/test/ui/feature-gate-custom_derive.stderr | 1 + src/test/ui/feature-gate-decl_macro.stderr | 1 + src/test/ui/feature-gate-doc_cfg.stderr | 1 + src/test/ui/feature-gate-doc_masked.stderr | 1 + src/test/ui/feature-gate-doc_spotlight.stderr | 1 + src/test/ui/feature-gate-dotdoteq_in_patterns.stderr | 1 + src/test/ui/feature-gate-dropck-ugeh.stderr | 1 + src/test/ui/feature-gate-dyn-trait.stderr | 1 + src/test/ui/feature-gate-exclusive-range-pattern.stderr | 1 + src/test/ui/feature-gate-extern_absolute_paths.stderr | 2 ++ src/test/ui/feature-gate-extern_in_paths.stderr | 1 + src/test/ui/feature-gate-extern_types.stderr | 1 + src/test/ui/feature-gate-external_doc.stderr | 1 + src/test/ui/feature-gate-fundamental.stderr | 1 + src/test/ui/feature-gate-generators.stderr | 1 + src/test/ui/feature-gate-generic_associated_types.stderr | 1 + src/test/ui/feature-gate-generic_param_attrs.stderr | 1 + src/test/ui/feature-gate-global_allocator.stderr | 1 + src/test/ui/feature-gate-global_asm.stderr | 1 + src/test/ui/feature-gate-i128_type.stderr | 1 + src/test/ui/feature-gate-i128_type2.stderr | 2 ++ src/test/ui/feature-gate-in_band_lifetimes.stderr | 1 + src/test/ui/feature-gate-intrinsics.stderr | 1 + src/test/ui/feature-gate-lang-items.stderr | 1 + src/test/ui/feature-gate-link_args.stderr | 1 + src/test/ui/feature-gate-link_cfg.stderr | 1 + src/test/ui/feature-gate-link_llvm_intrinsics.stderr | 1 + src/test/ui/feature-gate-linkage.stderr | 1 + src/test/ui/feature-gate-linker-flavor.stderr | 1 + src/test/ui/feature-gate-log_syntax.stderr | 1 + src/test/ui/feature-gate-log_syntax2.stderr | 1 + src/test/ui/feature-gate-macro-lifetime-matcher.stderr | 1 + src/test/ui/feature-gate-macro-vis-matcher.stderr | 1 + src/test/ui/feature-gate-macro_at_most_once_rep.stderr | 1 + src/test/ui/feature-gate-main.stderr | 1 + src/test/ui/feature-gate-match_default_bindings.stderr | 1 + src/test/ui/feature-gate-may-dangle.stderr | 1 + src/test/ui/feature-gate-naked_functions.stderr | 1 + src/test/ui/feature-gate-needs-allocator.stderr | 1 + src/test/ui/feature-gate-negate-unsigned.stderr | 1 + src/test/ui/feature-gate-never_type.stderr | 1 + src/test/ui/feature-gate-nll.stderr | 1 + src/test/ui/feature-gate-no-debug.stderr | 1 + src/test/ui/feature-gate-no_core.stderr | 1 + src/test/ui/feature-gate-non_ascii_idents.stderr | 1 + src/test/ui/feature-gate-non_exhaustive.stderr | 1 + src/test/ui/feature-gate-omit-gdb-pretty-printer-section.stderr | 1 + src/test/ui/feature-gate-on-unimplemented.stderr | 1 + src/test/ui/feature-gate-optin-builtin-traits.stderr | 1 + src/test/ui/feature-gate-overlapping_marker_traits.stderr | 1 + src/test/ui/feature-gate-placement-expr.stderr | 1 + src/test/ui/feature-gate-plugin.stderr | 1 + src/test/ui/feature-gate-plugin_registrar.stderr | 1 + src/test/ui/feature-gate-prelude_import.stderr | 1 + src/test/ui/feature-gate-profiler-runtime.stderr | 1 + src/test/ui/feature-gate-repr-simd.stderr | 1 + src/test/ui/feature-gate-repr128.stderr | 1 + src/test/ui/feature-gate-repr_transparent.stderr | 1 + src/test/ui/feature-gate-rustc-attrs.stderr | 1 + src/test/ui/feature-gate-rustc_const_unstable.stderr | 1 + src/test/ui/feature-gate-sanitizer-runtime.stderr | 1 + src/test/ui/feature-gate-simd.stderr | 1 + src/test/ui/feature-gate-slice-patterns.stderr | 1 + src/test/ui/feature-gate-start.stderr | 1 + src/test/ui/feature-gate-static-nobundle.stderr | 1 + src/test/ui/feature-gate-stmt_expr_attributes.stderr | 1 + src/test/ui/feature-gate-target_feature.stderr | 1 + src/test/ui/feature-gate-thread_local.stderr | 1 + src/test/ui/feature-gate-trace_macros.stderr | 1 + src/test/ui/feature-gate-type_ascription.stderr | 1 + src/test/ui/feature-gate-unboxed-closures-manual-impls.stderr | 1 + src/test/ui/feature-gate-unboxed-closures-method-calls.stderr | 1 + src/test/ui/feature-gate-unboxed-closures-ufcs-calls.stderr | 1 + src/test/ui/feature-gate-unboxed-closures.stderr | 1 + src/test/ui/feature-gate-underscore-lifetimes.stderr | 1 + src/test/ui/feature-gate-universal.stderr | 1 + src/test/ui/feature-gate-unsized_tuple_coercion.stderr | 1 + src/test/ui/feature-gate-untagged_unions.stderr | 1 + src/test/ui/feature-gate-unwind-attributes.stderr | 1 + src/test/ui/feature-gate-used.stderr | 1 + src/test/ui/feature-gate-wasm_import_memory.stderr | 1 + src/test/ui/feature-gate/issue-43106-gating-of-bench.stderr | 1 + src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr | 2 ++ .../ui/feature-gate/issue-43106-gating-of-macro_escape.stderr | 1 + .../feature-gate/issue-43106-gating-of-proc_macro_derive.stderr | 1 + .../feature-gate/issue-43106-gating-of-rustc_deprecated.stderr | 1 + src/test/ui/feature-gate/issue-43106-gating-of-stable.stderr | 1 + src/test/ui/feature-gate/issue-43106-gating-of-test.stderr | 1 + src/test/ui/feature-gate/issue-43106-gating-of-unstable.stderr | 1 + src/test/ui/fmt/send-sync.stderr | 1 + src/test/ui/generator/auto-trait-regions.stderr | 2 ++ src/test/ui/generator/borrowing.stderr | 1 + src/test/ui/generator/dropck.stderr | 1 + src/test/ui/generator/generator-with-nll.stderr | 1 + src/test/ui/generator/issue-48048.stderr | 1 + src/test/ui/generator/no-arguments-on-generators.stderr | 1 + src/test/ui/generator/not-send-sync.stderr | 1 + src/test/ui/generator/pattern-borrow.stderr | 1 + src/test/ui/generator/ref-escapes-but-not-over-yield.stderr | 1 + src/test/ui/generator/sized-yield.stderr | 1 + src/test/ui/generator/unsafe-immovable.stderr | 1 + src/test/ui/generator/yield-in-args.stderr | 1 + src/test/ui/generator/yield-in-const.stderr | 2 ++ src/test/ui/generator/yield-in-function.stderr | 1 + src/test/ui/generator/yield-in-static.stderr | 2 ++ src/test/ui/generator/yield-while-iterating.stderr | 2 ++ src/test/ui/generator/yield-while-local-borrowed.stderr | 1 + src/test/ui/generator/yield-while-ref-reborrowed.stderr | 1 + src/test/ui/generic-type-less-params-with-defaults.stderr | 1 + src/test/ui/generic-type-more-params-with-defaults.stderr | 1 + src/test/ui/if-let-arm-types.stderr | 1 + src/test/ui/impl-duplicate-methods.stderr | 1 + src/test/ui/impl-trait/auto-trait-leak.stderr | 2 ++ src/test/ui/impl-trait/equality.stderr | 2 ++ src/test/ui/impl-trait/impl-trait-plus-priority.stderr | 1 + .../impl-trait/issue-21659-show-relevant-trait-impls-3.stderr | 1 + src/test/ui/impl-trait/method-suggestion-no-duplication.stderr | 1 + src/test/ui/impl-trait/no-method-suggested-traits.stderr | 1 + src/test/ui/impl-trait/trait_type.stderr | 2 ++ src/test/ui/impl-trait/universal-mismatched-type.stderr | 1 + src/test/ui/impl-trait/universal-two-impl-traits.stderr | 1 + src/test/ui/impl-trait/universal_wrong_bounds.stderr | 2 ++ src/test/ui/impl-unused-rps-in-assoc-type.stderr | 1 + src/test/ui/imports/duplicate.stderr | 2 ++ src/test/ui/imports/macro-paths.stderr | 2 ++ src/test/ui/imports/macros.stderr | 2 ++ src/test/ui/imports/shadow_builtin_macros.stderr | 1 + src/test/ui/impossible_range.stderr | 1 + src/test/ui/in-band-lifetimes/E0687.stderr | 1 + src/test/ui/in-band-lifetimes/E0687_where.stderr | 1 + src/test/ui/in-band-lifetimes/E0688.stderr | 1 + src/test/ui/in-band-lifetimes/mismatched.stderr | 2 ++ src/test/ui/in-band-lifetimes/mismatched_trait.stderr | 1 + src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr | 2 ++ src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr | 1 + src/test/ui/in-band-lifetimes/mut_while_borrow.stderr | 1 + src/test/ui/in-band-lifetimes/no_in_band_in_struct.stderr | 1 + .../in-band-lifetimes/no_introducing_in_band_in_locals.stderr | 1 + src/test/ui/in-band-lifetimes/shadow.stderr | 1 + src/test/ui/index-help.stderr | 1 + src/test/ui/interior-mutability/interior-mutability.stderr | 1 + .../invalid-module-declaration.stderr | 1 + src/test/ui/invalid-path-in-const.stderr | 1 + src/test/ui/issue-10969.stderr | 1 + src/test/ui/issue-11004.stderr | 1 + src/test/ui/issue-11319.stderr | 1 + src/test/ui/issue-12187-1.stderr | 1 + src/test/ui/issue-12187-2.stderr | 1 + src/test/ui/issue-12511.stderr | 1 + src/test/ui/issue-13058.stderr | 2 ++ src/test/ui/issue-14092.stderr | 1 + src/test/ui/issue-15260.stderr | 1 + src/test/ui/issue-15524.stderr | 1 + src/test/ui/issue-17263.stderr | 2 ++ src/test/ui/issue-17441.stderr | 1 + src/test/ui/issue-18183.stderr | 1 + src/test/ui/issue-18819.stderr | 1 + src/test/ui/issue-19498.stderr | 1 + src/test/ui/issue-19707.stderr | 1 + src/test/ui/issue-19922.stderr | 1 + src/test/ui/issue-20692.stderr | 1 + src/test/ui/issue-21546.stderr | 1 + src/test/ui/issue-21600.stderr | 1 + src/test/ui/issue-21950.stderr | 2 ++ src/test/ui/issue-22370.stderr | 1 + src/test/ui/issue-22560.stderr | 2 ++ src/test/ui/issue-22886.stderr | 1 + src/test/ui/issue-22933-2.stderr | 1 + src/test/ui/issue-23041.stderr | 1 + src/test/ui/issue-23173.stderr | 1 + src/test/ui/issue-23217.stderr | 1 + src/test/ui/issue-23543.stderr | 1 + src/test/ui/issue-23544.stderr | 1 + src/test/ui/issue-23716.stderr | 1 + src/test/ui/issue-24036.stderr | 1 + src/test/ui/issue-24081.stderr | 1 + src/test/ui/issue-24424.stderr | 1 + src/test/ui/issue-25385.stderr | 1 + src/test/ui/issue-25793.stderr | 1 + src/test/ui/issue-25826.stderr | 1 + src/test/ui/issue-26056.stderr | 1 + src/test/ui/issue-26093.stderr | 1 + src/test/ui/issue-26472.stderr | 1 + src/test/ui/issue-26638.stderr | 1 + src/test/ui/issue-26886.stderr | 1 + src/test/ui/issue-27842.stderr | 1 + src/test/ui/issue-27942.stderr | 1 + src/test/ui/issue-2848.stderr | 1 + src/test/ui/issue-28568.stderr | 1 + src/test/ui/issue-28776.stderr | 1 + src/test/ui/issue-28837.stderr | 1 + src/test/ui/issue-28971.stderr | 1 + src/test/ui/issue-29124.stderr | 1 + src/test/ui/issue-29723.stderr | 1 + src/test/ui/issue-3008-1.stderr | 1 + src/test/ui/issue-3008-2.stderr | 1 + src/test/ui/issue-30255.stderr | 1 + src/test/ui/issue-3044.stderr | 1 + src/test/ui/issue-32326.stderr | 1 + src/test/ui/issue-33525.stderr | 2 ++ src/test/ui/issue-33941.stderr | 1 + src/test/ui/issue-34047.stderr | 1 + src/test/ui/issue-34209.stderr | 1 + src/test/ui/issue-35139.stderr | 1 + src/test/ui/issue-35241.stderr | 1 + src/test/ui/issue-35675.stderr | 2 ++ src/test/ui/issue-35869.stderr | 1 + src/test/ui/issue-36163.stderr | 1 + src/test/ui/issue-36400.stderr | 1 + src/test/ui/issue-36708.stderr | 1 + src/test/ui/issue-3779.stderr | 1 + src/test/ui/issue-37884.stderr | 1 + src/test/ui/issue-38875/issue_38875.stderr | 1 + src/test/ui/issue-40402-ref-hints/issue-40402-1.stderr | 1 + src/test/ui/issue-40402-ref-hints/issue-40402-2.stderr | 1 + src/test/ui/issue-41652/issue_41652.stderr | 1 + src/test/ui/issue-42106.stderr | 1 + src/test/ui/issue-4335.stderr | 2 ++ src/test/ui/issue-44023.stderr | 1 + src/test/ui/issue-45697-1.stderr | 2 ++ src/test/ui/issue-45697.stderr | 2 ++ src/test/ui/issue-45730.stderr | 1 + src/test/ui/issue-46112.stderr | 1 + src/test/ui/issue-46332.stderr | 1 + src/test/ui/issue-46471-1.stderr | 1 + src/test/ui/issue-46471.stderr | 1 + src/test/ui/issue-46472.stderr | 1 + src/test/ui/issue-46983.stderr | 1 + src/test/ui/issue-47377.stderr | 1 + src/test/ui/issue-47380.stderr | 1 + src/test/ui/issue-47511.stderr | 1 + src/test/ui/issue-47623.stderr | 1 + src/test/ui/issue-47706-trait.stderr | 2 ++ src/test/ui/issue-47706.stderr | 2 ++ src/test/ui/issue-4935.stderr | 1 + src/test/ui/issue-5239-1.stderr | 1 + src/test/ui/issue-6458-3.stderr | 1 + src/test/ui/issue-6458-4.stderr | 1 + src/test/ui/issue-6458.stderr | 1 + src/test/ui/issue-7813.stderr | 1 + ...fetime-elision-return-type-requires-explicit-lifetime.stderr | 1 + .../ui/lifetime-errors/42701_one_named_and_one_anonymous.stderr | 1 + .../ex1-return-one-existing-name-early-bound-in-struct.stderr | 1 + .../ex1-return-one-existing-name-if-else-2.stderr | 1 + .../ex1-return-one-existing-name-if-else-3.stderr | 1 + .../ex1-return-one-existing-name-if-else-using-impl-2.stderr | 1 + .../ex1-return-one-existing-name-if-else-using-impl-3.stderr | 1 + .../ex1-return-one-existing-name-if-else-using-impl.stderr | 1 + .../lifetime-errors/ex1-return-one-existing-name-if-else.stderr | 1 + .../ex1-return-one-existing-name-return-type-is-anon.stderr | 1 + .../ex1-return-one-existing-name-self-is-anon.stderr | 1 + src/test/ui/lifetime-errors/ex1b-return-no-names-if-else.stderr | 1 + .../ui/lifetime-errors/ex2a-push-one-existing-name-2.stderr | 1 + .../ex2a-push-one-existing-name-early-bound.stderr | 1 + src/test/ui/lifetime-errors/ex2a-push-one-existing-name.stderr | 1 + src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr | 1 + src/test/ui/lifetime-errors/ex2c-push-inference-variable.stderr | 1 + .../ui/lifetime-errors/ex2d-push-inference-variable-2.stderr | 1 + .../ui/lifetime-errors/ex2e-push-inference-variable-3.stderr | 1 + src/test/ui/lifetime-errors/ex3-both-anon-regions-2.stderr | 1 + src/test/ui/lifetime-errors/ex3-both-anon-regions-3.stderr | 1 + src/test/ui/lifetime-errors/ex3-both-anon-regions-4.stderr | 1 + .../ex3-both-anon-regions-both-are-structs-2.stderr | 1 + .../ex3-both-anon-regions-both-are-structs-3.stderr | 1 + .../ex3-both-anon-regions-both-are-structs-4.stderr | 1 + ...both-anon-regions-both-are-structs-earlybound-regions.stderr | 1 + ...-both-anon-regions-both-are-structs-latebound-regions.stderr | 1 + .../ex3-both-anon-regions-both-are-structs.stderr | 1 + .../ex3-both-anon-regions-latebound-regions.stderr | 1 + .../ex3-both-anon-regions-one-is-struct-2.stderr | 1 + .../ex3-both-anon-regions-one-is-struct-3.stderr | 1 + .../ex3-both-anon-regions-one-is-struct-4.stderr | 1 + .../lifetime-errors/ex3-both-anon-regions-one-is-struct.stderr | 1 + .../ex3-both-anon-regions-return-type-is-anon.stderr | 1 + .../lifetime-errors/ex3-both-anon-regions-self-is-anon.stderr | 1 + .../lifetime-errors/ex3-both-anon-regions-using-fn-items.stderr | 1 + .../ex3-both-anon-regions-using-impl-items.stderr | 1 + .../ex3-both-anon-regions-using-trait-objects.stderr | 1 + src/test/ui/lifetime-errors/ex3-both-anon-regions.stderr | 1 + .../ui/lifetime-errors/liveness-assign-imm-local-notes.stderr | 1 + src/test/ui/lifetimes/borrowck-let-suggestion.stderr | 1 + src/test/ui/lifetimes/lifetime-doesnt-live-long-enough.stderr | 2 ++ src/test/ui/lint-forbid-attr.stderr | 1 + src/test/ui/lint/outer-forbid.stderr | 1 + src/test/ui/lint/use_suggestion_json.stderr | 1 + src/test/ui/liveness-return-last-stmt-semi.stderr | 1 + src/test/ui/loop-break-value-no-repeat.stderr | 1 + src/test/ui/lub-glb/old-lub-glb-hr.stderr | 1 + src/test/ui/lub-glb/old-lub-glb-object.stderr | 1 + src/test/ui/macros/macro-backtrace-invalid-internals.stderr | 2 ++ src/test/ui/macros/macro-backtrace-nested.stderr | 1 + src/test/ui/macros/macro_path_as_generic_bound.stderr | 1 + src/test/ui/macros/span-covering-argument-1.stderr | 1 + src/test/ui/main-wrong-location.stderr | 1 + src/test/ui/method-call-err-msg.stderr | 2 ++ src/test/ui/method-missing-call.stderr | 1 + src/test/ui/mismatched_types/E0053.stderr | 1 + src/test/ui/mismatched_types/E0409.stderr | 2 ++ src/test/ui/mismatched_types/E0631.stderr | 1 + src/test/ui/mismatched_types/abridged.stderr | 1 + src/test/ui/mismatched_types/binops.stderr | 1 + src/test/ui/mismatched_types/cast-rfc0401.stderr | 2 ++ src/test/ui/mismatched_types/closure-arg-count.stderr | 1 + src/test/ui/mismatched_types/closure-arg-type-mismatch.stderr | 2 ++ src/test/ui/mismatched_types/closure-mismatch.stderr | 2 ++ src/test/ui/mismatched_types/const-fn-in-trait.stderr | 1 + src/test/ui/mismatched_types/fn-variance-1.stderr | 1 + src/test/ui/mismatched_types/for-loop-has-unit-body.stderr | 1 + src/test/ui/mismatched_types/issue-19109.stderr | 1 + src/test/ui/mismatched_types/issue-26480.stderr | 2 ++ src/test/ui/mismatched_types/issue-35030.stderr | 1 + src/test/ui/mismatched_types/issue-36053-2.stderr | 2 ++ src/test/ui/mismatched_types/issue-38371.stderr | 2 ++ src/test/ui/mismatched_types/main.stderr | 1 + .../ui/mismatched_types/method-help-unsatisfied-bound.stderr | 1 + src/test/ui/mismatched_types/overloaded-calls-bad.stderr | 2 ++ src/test/ui/mismatched_types/trait-bounds-cant-coerce.stderr | 1 + .../ui/mismatched_types/trait-impl-fn-incompatibility.stderr | 1 + .../ui/mismatched_types/unboxed-closures-vtable-mismatch.stderr | 1 + src/test/ui/missing-items/issue-40221.stderr | 1 + src/test/ui/missing-items/m2.stderr | 2 ++ src/test/ui/missing-items/missing-type-parameter.stderr | 1 + src/test/ui/missing_non_modrs_mod/missing_non_modrs_mod.stderr | 1 + src/test/ui/moves-based-on-type-block-bad.stderr | 1 + src/test/ui/moves-based-on-type-match-bindings.stderr | 1 + src/test/ui/moves-based-on-type-tuple.stderr | 1 + src/test/ui/nll/borrowed-match-issue-45045.stderr | 1 + src/test/ui/nll/borrowed-referent-issue-38899.stderr | 1 + src/test/ui/nll/capture-ref-in-struct.stderr | 1 + src/test/ui/nll/closure-requirements/escape-argument.stderr | 1 + src/test/ui/nll/closure-requirements/escape-upvar-nested.stderr | 1 + src/test/ui/nll/closure-requirements/escape-upvar-ref.stderr | 1 + .../nll/closure-requirements/propagate-approximated-ref.stderr | 1 + ...approximated-shorter-to-static-comparing-against-free.stderr | 1 + .../nll/closure-requirements/propagate-approximated-val.stderr | 1 + .../nll/closure-requirements/propagate-from-trait-match.stderr | 1 + .../region-lbr-anon-does-not-outlive-static.stderr | 1 + .../region-lbr1-does-not-outlive-ebr2.stderr | 1 + src/test/ui/nll/drop-no-may-dangle.stderr | 1 + src/test/ui/nll/get_default.stderr | 1 + src/test/ui/nll/guarantor-issue-46974.stderr | 2 ++ .../ui/nll/maybe-initialized-drop-implicit-fragment-drop.stderr | 1 + src/test/ui/nll/maybe-initialized-drop-with-fragment.stderr | 1 + .../maybe-initialized-drop-with-uninitialized-fragments.stderr | 1 + src/test/ui/nll/maybe-initialized-drop.stderr | 1 + src/test/ui/nll/return-ref-mut-issue-46557.stderr | 1 + src/test/ui/nll/trait-associated-constant.stderr | 1 + src/test/ui/nll/ty-outlives/impl-trait-captures.stderr | 1 + src/test/ui/nll/ty-outlives/impl-trait-outlives.stderr | 1 + src/test/ui/nll/ty-outlives/projection-implied-bounds.stderr | 1 + .../ui/nll/ty-outlives/projection-no-regions-closure.stderr | 1 + src/test/ui/nll/ty-outlives/projection-no-regions-fn.stderr | 1 + .../ui/nll/ty-outlives/projection-one-region-closure.stderr | 1 + .../projection-two-region-trait-bound-closure.stderr | 1 + .../ty-outlives/ty-param-closure-approximate-lower-bound.stderr | 1 + .../ty-param-closure-outlives-from-return-type.stderr | 1 + .../ty-param-closure-outlives-from-where-clause.stderr | 1 + src/test/ui/nll/ty-outlives/ty-param-fn-body-nll-feature.stderr | 1 + src/test/ui/nll/ty-outlives/ty-param-fn-body.stderr | 1 + src/test/ui/nll/ty-outlives/ty-param-fn.stderr | 1 + src/test/ui/no-patterns-in-args.stderr | 2 ++ src/test/ui/non-constant-expr-for-arr-len.stderr | 1 + src/test/ui/non-exhaustive-pattern-witness.stderr | 1 + src/test/ui/non_modrs_mods/non_modrs_mods.stderr | 1 + src/test/ui/not-enough-arguments.stderr | 1 + src/test/ui/numeric-fields.stderr | 2 ++ src/test/ui/object-safety-associated-consts.stderr | 1 + src/test/ui/object-safety-generics.stderr | 1 + src/test/ui/object-safety-mentions-Self.stderr | 1 + src/test/ui/object-safety-sized.stderr | 1 + src/test/ui/object-safety-supertrait-mentions-Self.stderr | 1 + src/test/ui/on-unimplemented/bad-annotation.stderr | 2 ++ src/test/ui/on-unimplemented/multiple-impls.stderr | 1 + src/test/ui/on-unimplemented/no-debug.stderr | 1 + src/test/ui/on-unimplemented/on-impl.stderr | 1 + src/test/ui/on-unimplemented/on-trait.stderr | 1 + src/test/ui/on-unimplemented/slice-index.stderr | 1 + src/test/ui/partialeq_help.stderr | 1 + src/test/ui/pat-slice-old-style.stderr | 1 + src/test/ui/qualified-path-params-2.stderr | 2 ++ src/test/ui/reachable/expr_unary.stderr | 1 + src/test/ui/recursive-requirements.stderr | 1 + src/test/ui/region-borrow-params-issue-29793-small.stderr | 2 ++ src/test/ui/regions-fn-subtyping-return-static.stderr | 1 + src/test/ui/regions-nested-fns-2.stderr | 1 + src/test/ui/resolve-conflict-item-vs-import.stderr | 1 + src/test/ui/resolve-inconsistent-names.stderr | 1 + src/test/ui/resolve/enums-are-namespaced-xc.stderr | 2 ++ src/test/ui/resolve/issue-14254.stderr | 2 ++ src/test/ui/resolve/issue-16058.stderr | 1 + src/test/ui/resolve/issue-17518.stderr | 1 + src/test/ui/resolve/issue-18252.stderr | 1 + src/test/ui/resolve/issue-19452.stderr | 1 + src/test/ui/resolve/issue-21221-1.stderr | 2 ++ src/test/ui/resolve/issue-21221-2.stderr | 2 ++ src/test/ui/resolve/issue-21221-3.stderr | 1 + src/test/ui/resolve/issue-21221-4.stderr | 1 + src/test/ui/resolve/issue-23305.stderr | 1 + src/test/ui/resolve/issue-2356.stderr | 2 ++ src/test/ui/resolve/issue-24968.stderr | 1 + src/test/ui/resolve/issue-33876.stderr | 1 + src/test/ui/resolve/issue-3907-2.stderr | 1 + src/test/ui/resolve/issue-3907.stderr | 1 + src/test/ui/resolve/issue-39226.stderr | 1 + src/test/ui/resolve/issue-5035-2.stderr | 1 + src/test/ui/resolve/issue-5035.stderr | 2 ++ src/test/ui/resolve/issue-6702.stderr | 1 + src/test/ui/resolve/levenshtein.stderr | 2 ++ src/test/ui/resolve/name-clash-nullary.stderr | 1 + src/test/ui/resolve/privacy-enum-ctor.stderr | 2 ++ src/test/ui/resolve/privacy-struct-ctor.stderr | 2 ++ src/test/ui/resolve/resolve-assoc-suggestions.stderr | 2 ++ src/test/ui/resolve/resolve-hint-macro.stderr | 1 + src/test/ui/resolve/resolve-speculative-adjustment.stderr | 1 + src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr | 2 ++ src/test/ui/resolve/token-error-correct-2.stderr | 1 + src/test/ui/resolve/token-error-correct-3.stderr | 2 ++ src/test/ui/resolve/tuple-struct-alias.stderr | 2 ++ .../ui/resolve/unboxed-closure-sugar-nonexistent-trait.stderr | 2 ++ src/test/ui/resolve/unresolved_static_type_field.stderr | 1 + src/test/ui/resolve/use_suggestion_placement.stderr | 2 ++ src/test/ui/rfc-2005-default-binding-mode/const.stderr | 1 + src/test/ui/rfc-2005-default-binding-mode/enum.stderr | 1 + src/test/ui/rfc-2005-default-binding-mode/explicit-mut.stderr | 1 + src/test/ui/rfc-2005-default-binding-mode/for.stderr | 1 + src/test/ui/rfc-2005-default-binding-mode/issue-44912-or.stderr | 1 + src/test/ui/rfc-2005-default-binding-mode/lit.stderr | 1 + .../ui/rfc-2005-default-binding-mode/no-double-error.stderr | 1 + src/test/ui/rfc-2005-default-binding-mode/slice.stderr | 1 + src/test/ui/rfc-2005-default-binding-mode/suggestion.stderr | 1 + .../construct_with_other_type.stderr | 1 + .../generic_associated_type_undeclared_lifetimes.stderr | 2 ++ src/test/ui/rfc1598-generic-associated-types/iterable.stderr | 1 + .../ui/rfc1598-generic-associated-types/pointer_family.stderr | 1 + .../rfc1598-generic-associated-types/streaming_iterator.stderr | 1 + src/test/ui/self-impl.stderr | 1 + src/test/ui/shadowed-lifetime.stderr | 1 + src/test/ui/shadowed-type-parameter.stderr | 1 + src/test/ui/span/E0046.stderr | 1 + src/test/ui/span/E0057.stderr | 1 + src/test/ui/span/E0072.stderr | 1 + src/test/ui/span/E0204.stderr | 1 + src/test/ui/span/E0493.stderr | 1 + src/test/ui/span/E0535.stderr | 1 + src/test/ui/span/E0536.stderr | 1 + src/test/ui/span/E0537.stderr | 1 + .../ui/span/borrowck-borrow-overloaded-auto-deref-mut.stderr | 2 ++ src/test/ui/span/borrowck-borrow-overloaded-deref-mut.stderr | 1 + src/test/ui/span/borrowck-call-is-borrow-issue-12224.stderr | 2 ++ src/test/ui/span/borrowck-call-method-from-mut-aliasable.stderr | 1 + src/test/ui/span/borrowck-fn-in-const-b.stderr | 1 + src/test/ui/span/borrowck-let-suggestion-suffixes.stderr | 1 + src/test/ui/span/borrowck-object-mutability.stderr | 1 + src/test/ui/span/borrowck-ref-into-rvalue.stderr | 1 + src/test/ui/span/coerce-suggestions.stderr | 1 + src/test/ui/span/destructor-restrictions.stderr | 1 + src/test/ui/span/dropck-object-cycle.stderr | 1 + src/test/ui/span/dropck_arr_cycle_checked.stderr | 1 + src/test/ui/span/dropck_direct_cycle_with_drop.stderr | 1 + src/test/ui/span/dropck_misc_variants.stderr | 1 + src/test/ui/span/dropck_vec_cycle_checked.stderr | 1 + src/test/ui/span/gated-features-attr-spans.stderr | 1 + src/test/ui/span/impl-wrong-item-for-trait.stderr | 2 ++ src/test/ui/span/issue-11925.stderr | 1 + src/test/ui/span/issue-15480.stderr | 1 + .../ui/span/issue-23338-locals-die-before-temps-of-body.stderr | 1 + src/test/ui/span/issue-23729.stderr | 1 + src/test/ui/span/issue-23827.stderr | 1 + src/test/ui/span/issue-24356.stderr | 1 + .../span/issue-24805-dropck-child-has-items-via-parent.stderr | 1 + src/test/ui/span/issue-24805-dropck-trait-has-items.stderr | 1 + src/test/ui/span/issue-24895-copy-clone-dropck.stderr | 1 + src/test/ui/span/issue-25199.stderr | 1 + src/test/ui/span/issue-26656.stderr | 1 + src/test/ui/span/issue-27522.stderr | 1 + src/test/ui/span/issue-29106.stderr | 1 + src/test/ui/span/issue-29595.stderr | 1 + src/test/ui/span/issue-33884.stderr | 1 + src/test/ui/span/issue-34264.stderr | 2 ++ src/test/ui/span/issue-35987.stderr | 2 ++ src/test/ui/span/issue-36530.stderr | 1 + src/test/ui/span/issue-36537.stderr | 1 + src/test/ui/span/issue-37767.stderr | 1 + src/test/ui/span/issue-39018.stderr | 1 + src/test/ui/span/issue-39698.stderr | 1 + src/test/ui/span/issue-40157.stderr | 1 + src/test/ui/span/issue-42234-unknown-receiver-type.stderr | 1 + src/test/ui/span/issue-7575.stderr | 1 + src/test/ui/span/issue28498-reject-ex1.stderr | 1 + src/test/ui/span/issue28498-reject-lifetime-param.stderr | 1 + src/test/ui/span/issue28498-reject-passed-to-fn.stderr | 1 + src/test/ui/span/issue28498-reject-trait-bound.stderr | 1 + src/test/ui/span/loan-extend.stderr | 1 + src/test/ui/span/missing-unit-argument.stderr | 1 + src/test/ui/span/move-closure.stderr | 1 + src/test/ui/span/multiline-span-E0072.stderr | 1 + src/test/ui/span/multiline-span-simple.stderr | 1 + src/test/ui/span/mut-arg-hint.stderr | 1 + src/test/ui/span/mut-ptr-cant-outlive-ref.stderr | 1 + src/test/ui/span/non-existing-module-import.stderr | 1 + src/test/ui/span/pub-struct-field.stderr | 1 + src/test/ui/span/range-2.stderr | 1 + src/test/ui/span/recursive-type-field.stderr | 1 + src/test/ui/span/regionck-unboxed-closure-lifetimes.stderr | 1 + src/test/ui/span/regions-close-over-borrowed-ref-in-obj.stderr | 1 + src/test/ui/span/regions-close-over-type-parameter-2.stderr | 1 + src/test/ui/span/regions-escape-loop-via-variable.stderr | 1 + src/test/ui/span/regions-escape-loop-via-vec.stderr | 2 ++ src/test/ui/span/regions-infer-borrow-scope-within-loop.stderr | 1 + src/test/ui/span/send-is-not-static-ensures-scoping.stderr | 1 + src/test/ui/span/send-is-not-static-std-sync-2.stderr | 1 + src/test/ui/span/send-is-not-static-std-sync.stderr | 2 ++ src/test/ui/span/slice-borrow.stderr | 1 + src/test/ui/span/suggestion-non-ascii.stderr | 1 + src/test/ui/span/type-binding.stderr | 1 + src/test/ui/span/typo-suggestion.stderr | 1 + src/test/ui/span/vec-must-not-hide-type-from-dropck.stderr | 1 + src/test/ui/span/vec_refs_data_with_early_death.stderr | 1 + src/test/ui/span/wf-method-late-bound-regions.stderr | 1 + src/test/ui/specialization-feature-gate-default.stderr | 1 + src/test/ui/specialization-feature-gate-overlap.stderr | 1 + src/test/ui/static-lifetime.stderr | 1 + src/test/ui/str-concat-on-double-ref.stderr | 1 + src/test/ui/str-lit-type-mismatch.stderr | 1 + src/test/ui/struct-fields-decl-dupe.stderr | 1 + src/test/ui/struct-fields-hints-no-dupe.stderr | 1 + src/test/ui/struct-fields-hints.stderr | 1 + src/test/ui/struct-fields-too-many.stderr | 1 + src/test/ui/struct-path-self-type-mismatch.stderr | 1 + src/test/ui/suggest-private-fields.stderr | 1 + src/test/ui/suggestions/closure-immutable-outer-variable.stderr | 1 + .../ui/suggestions/confuse-field-and-method/issue-18343.stderr | 1 + .../ui/suggestions/confuse-field-and-method/issue-2392.stderr | 1 + .../ui/suggestions/confuse-field-and-method/issue-32128.stderr | 1 + .../ui/suggestions/confuse-field-and-method/issue-33784.stderr | 1 + .../suggestions/confuse-field-and-method/private-field.stderr | 1 + src/test/ui/suggestions/conversion-methods.stderr | 1 + src/test/ui/suggestions/dont-suggest-dereference-on-arg.stderr | 1 + .../ui/suggestions/dont-suggest-private-trait-method.stderr | 1 + src/test/ui/suggestions/extern-crate-rename.stderr | 1 + src/test/ui/suggestions/fn-closure-mutable-capture.stderr | 1 + src/test/ui/suggestions/for-c-in-str.stderr | 1 + .../ui/suggestions/issue-32354-suggest-import-rename.stderr | 1 + src/test/ui/suggestions/issue-43420-no-over-suggest.stderr | 1 + ...e-45799-bad-extern-crate-rename-suggestion-formatting.stderr | 1 + .../issue-46756-consider-borrowing-cast-or-binexpr.stderr | 1 + src/test/ui/suggestions/method-on-ambiguous-numeric-type.stderr | 1 + src/test/ui/suggestions/numeric-cast-2.stderr | 1 + src/test/ui/suggestions/numeric-cast.stderr | 1 + src/test/ui/suggestions/return-type.stderr | 1 + src/test/ui/suggestions/str-array-assignment.stderr | 2 ++ src/test/ui/suggestions/suggest-labels.stderr | 1 + src/test/ui/suggestions/suggest-methods.stderr | 1 + src/test/ui/suggestions/try-on-option.stderr | 1 + src/test/ui/suggestions/try-operator-on-main.stderr | 1 + .../suggestions/type-ascription-instead-of-initializer.stderr | 1 + src/test/ui/suggestions/type-ascription-with-fn-call.stderr | 1 + src/test/ui/svh-change-lit.stderr | 1 + src/test/ui/svh-change-significant-cfg.stderr | 1 + src/test/ui/svh-change-trait-bound.stderr | 1 + src/test/ui/svh-change-type-arg.stderr | 1 + src/test/ui/svh-change-type-ret.stderr | 1 + src/test/ui/svh-change-type-static.stderr | 1 + src/test/ui/svh-use-trait.stderr | 1 + src/test/ui/switched-expectations.stderr | 1 + src/test/ui/token/issue-10636-2.stderr | 1 + src/test/ui/token/issue-15980.stderr | 1 + src/test/ui/token/issue-41155.stderr | 2 ++ src/test/ui/trait-alias.stderr | 1 + src/test/ui/trait-duplicate-methods.stderr | 1 + src/test/ui/trait-method-private.stderr | 1 + src/test/ui/trait-safety-fn-body.stderr | 1 + src/test/ui/trait-suggest-where-clause.stderr | 1 + src/test/ui/traits-multidispatch-convert-ambig-dest.stderr | 1 + src/test/ui/transmute/main.stderr | 1 + src/test/ui/transmute/transmute-from-fn-item-types-error.stderr | 2 ++ src/test/ui/transmute/transmute-type-parameters.stderr | 1 + src/test/ui/type-annotation-needed.stderr | 1 + src/test/ui/type-check/assignment-in-if.stderr | 1 + src/test/ui/type-check/cannot_infer_local_or_array.stderr | 1 + src/test/ui/type-check/cannot_infer_local_or_vec.stderr | 1 + .../ui/type-check/cannot_infer_local_or_vec_in_tuples.stderr | 1 + src/test/ui/type-check/issue-22897.stderr | 1 + src/test/ui/type-check/issue-40294.stderr | 1 + src/test/ui/type-check/issue-41314.stderr | 2 ++ src/test/ui/type-check/missing_trait_impl.stderr | 1 + src/test/ui/type-check/unknown_type_for_closure.stderr | 1 + src/test/ui/type-recursive.stderr | 1 + src/test/ui/typeck-builtin-bound-type-parameters.stderr | 2 ++ src/test/ui/typeck_type_placeholder_item.stderr | 1 + src/test/ui/typeck_type_placeholder_lifetime_1.stderr | 1 + src/test/ui/typeck_type_placeholder_lifetime_2.stderr | 1 + src/test/ui/unboxed-closure-no-cyclic-sig.stderr | 1 + src/test/ui/unboxed-closure-sugar-wrong-trait.stderr | 2 ++ .../unboxed-closures-infer-fn-once-move-from-projection.stderr | 1 + src/test/ui/unconstrained-none.stderr | 1 + src/test/ui/unconstrained-ref.stderr | 1 + src/test/ui/union/union-const-eval.stderr | 1 + src/test/ui/union/union-derive-eq.stderr | 1 + src/test/ui/union/union-fields-2.stderr | 2 ++ src/test/ui/union/union-sized-field.stderr | 1 + src/test/ui/union/union-suggest-field.stderr | 2 ++ src/test/ui/unknown-language-item.stderr | 1 + src/test/ui/unsafe-const-fn.stderr | 1 + src/test/ui/unsized-enum2.stderr | 1 + src/test/ui/use-mod.stderr | 2 ++ src/test/ui/use-nested-groups-error.stderr | 1 + src/test/ui/variadic-ffi-3.stderr | 2 ++ src/test/ui/variance-unused-type-param.stderr | 1 + src/test/ui/vector-no-ann.stderr | 1 + 1031 files changed, 1151 insertions(+) diff --git a/src/test/ui-fulldeps/custom-derive/issue-36935.stderr b/src/test/ui-fulldeps/custom-derive/issue-36935.stderr index 55848c6553cca..91e9f3055ce85 100644 --- a/src/test/ui-fulldeps/custom-derive/issue-36935.stderr +++ b/src/test/ui-fulldeps/custom-derive/issue-36935.stderr @@ -1,3 +1,5 @@ +thread 'rustc' panicked at 'lolnope', $DIR/auxiliary/plugin.rs:27:5 +note: Run with `RUST_BACKTRACE=1` for a backtrace. error: proc-macro derive panicked --> $DIR/issue-36935.rs:18:15 | diff --git a/src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr b/src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr index 459be9db578af..b9d166589b0e2 100644 --- a/src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr +++ b/src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr @@ -21,3 +21,4 @@ error[E0453]: allow(test_lint) overruled by outer forbid(test_lint) error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0453" diff --git a/src/test/ui-fulldeps/proc-macro/load-panic.stderr b/src/test/ui-fulldeps/proc-macro/load-panic.stderr index ab2ab84315a93..3e885ffc72cd2 100644 --- a/src/test/ui-fulldeps/proc-macro/load-panic.stderr +++ b/src/test/ui-fulldeps/proc-macro/load-panic.stderr @@ -1,3 +1,5 @@ +thread 'rustc' panicked at 'nope!', $DIR/auxiliary/derive-panic.rs:22:5 +note: Run with `RUST_BACKTRACE=1` for a backtrace. error: proc-macro derive panicked --> $DIR/load-panic.rs:17:10 | diff --git a/src/test/ui-fulldeps/proc-macro/signature.stderr b/src/test/ui-fulldeps/proc-macro/signature.stderr index 2beb0aac8626e..b89f67d906983 100644 --- a/src/test/ui-fulldeps/proc-macro/signature.stderr +++ b/src/test/ui-fulldeps/proc-macro/signature.stderr @@ -12,3 +12,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/anonymous-higher-ranked-lifetime.stderr b/src/test/ui/anonymous-higher-ranked-lifetime.stderr index 4bd3b684b7ba3..96ae2afe220f4 100644 --- a/src/test/ui/anonymous-higher-ranked-lifetime.stderr +++ b/src/test/ui/anonymous-higher-ranked-lifetime.stderr @@ -154,3 +154,4 @@ note: required by `h2` error: aborting due to 11 previous errors +If you want more information on this error, try using "rustc --explain E0631" diff --git a/src/test/ui/arbitrary-self-types-not-object-safe.stderr b/src/test/ui/arbitrary-self-types-not-object-safe.stderr index f258488ee2fb1..fa8b82b8a9bf6 100644 --- a/src/test/ui/arbitrary-self-types-not-object-safe.stderr +++ b/src/test/ui/arbitrary-self-types-not-object-safe.stderr @@ -17,3 +17,4 @@ error[E0038]: the trait `Foo` cannot be made into an object error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/asm-out-assign-imm.stderr b/src/test/ui/asm-out-assign-imm.stderr index cf5486fec5f93..90104e6497206 100644 --- a/src/test/ui/asm-out-assign-imm.stderr +++ b/src/test/ui/asm-out-assign-imm.stderr @@ -9,3 +9,4 @@ error[E0384]: cannot assign twice to immutable variable `x` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0384" diff --git a/src/test/ui/associated-const-impl-wrong-lifetime.stderr b/src/test/ui/associated-const-impl-wrong-lifetime.stderr index ab0e1003a9e10..6ec274ac4f9ce 100644 --- a/src/test/ui/associated-const-impl-wrong-lifetime.stderr +++ b/src/test/ui/associated-const-impl-wrong-lifetime.stderr @@ -15,3 +15,4 @@ note: the lifetime 'a as defined on the impl at 17:1... error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/associated-const-impl-wrong-type.stderr b/src/test/ui/associated-const-impl-wrong-type.stderr index a2afe905cb505..e741aa742c17a 100644 --- a/src/test/ui/associated-const-impl-wrong-type.stderr +++ b/src/test/ui/associated-const-impl-wrong-type.stderr @@ -9,3 +9,4 @@ error[E0326]: implemented const `BAR` has an incompatible type for trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0326" diff --git a/src/test/ui/associated-type-projection-from-multiple-supertraits.stderr b/src/test/ui/associated-type-projection-from-multiple-supertraits.stderr index 6215c1dc089d2..b924fbaeb39fe 100644 --- a/src/test/ui/associated-type-projection-from-multiple-supertraits.stderr +++ b/src/test/ui/associated-type-projection-from-multiple-supertraits.stderr @@ -42,3 +42,5 @@ error[E0221]: ambiguous associated type `Color` in bounds of `C` error: aborting due to 4 previous errors +You've got a few errors: E0191, E0221 +If you want more information on an error, try using "rustc --explain E0191" diff --git a/src/test/ui/associated-types-ICE-when-projecting-out-of-err.stderr b/src/test/ui/associated-types-ICE-when-projecting-out-of-err.stderr index 1a49cc7a283bb..b181996112775 100644 --- a/src/test/ui/associated-types-ICE-when-projecting-out-of-err.stderr +++ b/src/test/ui/associated-types-ICE-when-projecting-out-of-err.stderr @@ -6,3 +6,4 @@ error[E0277]: the trait bound `(): Add` is not satisfied error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/associated-types-in-ambiguous-context.stderr b/src/test/ui/associated-types-in-ambiguous-context.stderr index b0196234bda04..33b83b787ad01 100644 --- a/src/test/ui/associated-types-in-ambiguous-context.stderr +++ b/src/test/ui/associated-types-in-ambiguous-context.stderr @@ -24,3 +24,4 @@ error[E0223]: ambiguous associated type error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0223" diff --git a/src/test/ui/attr-usage-repr.stderr b/src/test/ui/attr-usage-repr.stderr index b9c012630e9f3..6ab0e0029c992 100644 --- a/src/test/ui/attr-usage-repr.stderr +++ b/src/test/ui/attr-usage-repr.stderr @@ -40,3 +40,4 @@ error[E0517]: attribute should be applied to struct error: aborting due to 5 previous errors +If you want more information on this error, try using "rustc --explain E0517" diff --git a/src/test/ui/augmented-assignments.stderr b/src/test/ui/augmented-assignments.stderr index 0367270d16676..d3d3e0b6dd3dc 100644 --- a/src/test/ui/augmented-assignments.stderr +++ b/src/test/ui/augmented-assignments.stderr @@ -20,3 +20,5 @@ error[E0382]: use of moved value: `x` error: aborting due to 2 previous errors +You've got a few errors: E0382, E0596 +If you want more information on an error, try using "rustc --explain E0382" diff --git a/src/test/ui/binary-op-on-double-ref.stderr b/src/test/ui/binary-op-on-double-ref.stderr index 4a2490bac91ab..64897fadaa633 100644 --- a/src/test/ui/binary-op-on-double-ref.stderr +++ b/src/test/ui/binary-op-on-double-ref.stderr @@ -9,3 +9,4 @@ error[E0369]: binary operation `%` cannot be applied to type `&&{integer}` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0369" diff --git a/src/test/ui/blind-item-item-shadow.stderr b/src/test/ui/blind-item-item-shadow.stderr index d3588be266975..227e157cf9fac 100644 --- a/src/test/ui/blind-item-item-shadow.stderr +++ b/src/test/ui/blind-item-item-shadow.stderr @@ -15,3 +15,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0255" diff --git a/src/test/ui/block-result/block-must-not-have-result-do.stderr b/src/test/ui/block-result/block-must-not-have-result-do.stderr index d4024f41c26fa..8c8e30a7262a7 100644 --- a/src/test/ui/block-result/block-must-not-have-result-do.stderr +++ b/src/test/ui/block-result/block-must-not-have-result-do.stderr @@ -9,3 +9,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/block-must-not-have-result-res.stderr b/src/test/ui/block-result/block-must-not-have-result-res.stderr index 20c7dc416f3bb..b64a0c62a1ab8 100644 --- a/src/test/ui/block-result/block-must-not-have-result-res.stderr +++ b/src/test/ui/block-result/block-must-not-have-result-res.stderr @@ -11,3 +11,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/block-must-not-have-result-while.stderr b/src/test/ui/block-result/block-must-not-have-result-while.stderr index 888a64c1bb1aa..4b0c4bb776c0e 100644 --- a/src/test/ui/block-result/block-must-not-have-result-while.stderr +++ b/src/test/ui/block-result/block-must-not-have-result-while.stderr @@ -9,3 +9,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/consider-removing-last-semi.stderr b/src/test/ui/block-result/consider-removing-last-semi.stderr index 453f3879f4ba2..3e434a0ca3ff1 100644 --- a/src/test/ui/block-result/consider-removing-last-semi.stderr +++ b/src/test/ui/block-result/consider-removing-last-semi.stderr @@ -28,3 +28,4 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/issue-11714.stderr b/src/test/ui/block-result/issue-11714.stderr index 946d18048944f..3b6fd3365830f 100644 --- a/src/test/ui/block-result/issue-11714.stderr +++ b/src/test/ui/block-result/issue-11714.stderr @@ -15,3 +15,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/issue-13428.stderr b/src/test/ui/block-result/issue-13428.stderr index 22bbb2aadf61c..fbf3c6bd40a1b 100644 --- a/src/test/ui/block-result/issue-13428.stderr +++ b/src/test/ui/block-result/issue-13428.stderr @@ -31,3 +31,4 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/issue-13624.stderr b/src/test/ui/block-result/issue-13624.stderr index cd8c28cd2cfa8..e6e1cfdc3ab13 100644 --- a/src/test/ui/block-result/issue-13624.stderr +++ b/src/test/ui/block-result/issue-13624.stderr @@ -20,3 +20,4 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/issue-20862.stderr b/src/test/ui/block-result/issue-20862.stderr index 3b4f514de7dca..f2d98a1bb74ec 100644 --- a/src/test/ui/block-result/issue-20862.stderr +++ b/src/test/ui/block-result/issue-20862.stderr @@ -17,3 +17,5 @@ error[E0618]: expected function, found `()` error: aborting due to 2 previous errors +You've got a few errors: E0308, E0618 +If you want more information on an error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/issue-22645.stderr b/src/test/ui/block-result/issue-22645.stderr index c6113ae0c9f60..57e500dba825a 100644 --- a/src/test/ui/block-result/issue-22645.stderr +++ b/src/test/ui/block-result/issue-22645.stderr @@ -22,3 +22,5 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +You've got a few errors: E0277, E0308 +If you want more information on an error, try using "rustc --explain E0277" diff --git a/src/test/ui/block-result/issue-3563.stderr b/src/test/ui/block-result/issue-3563.stderr index c3d5f21b0a51e..6b9fef6cba6ef 100644 --- a/src/test/ui/block-result/issue-3563.stderr +++ b/src/test/ui/block-result/issue-3563.stderr @@ -8,3 +8,4 @@ error[E0599]: no method named `b` found for type `&Self` in the current scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/block-result/issue-5500.stderr b/src/test/ui/block-result/issue-5500.stderr index 29dbd5a8cf599..bbe0e883cc71a 100644 --- a/src/test/ui/block-result/issue-5500.stderr +++ b/src/test/ui/block-result/issue-5500.stderr @@ -11,3 +11,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/block-result/unexpected-return-on-unit.stderr b/src/test/ui/block-result/unexpected-return-on-unit.stderr index 3881bb4625801..39d55aced3a2f 100644 --- a/src/test/ui/block-result/unexpected-return-on-unit.stderr +++ b/src/test/ui/block-result/unexpected-return-on-unit.stderr @@ -17,3 +17,4 @@ help: try adding a return type error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/bogus-tag.stderr b/src/test/ui/bogus-tag.stderr index 49dedcd074279..d57c5cbde5ff2 100644 --- a/src/test/ui/bogus-tag.stderr +++ b/src/test/ui/bogus-tag.stderr @@ -9,3 +9,4 @@ error[E0599]: no variant named `hsl` found for type `color` in the current scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/borrowck/borrowck-box-insensitivity.stderr b/src/test/ui/borrowck/borrowck-box-insensitivity.stderr index 88e8490843d31..1df7be00a787f 100644 --- a/src/test/ui/borrowck/borrowck-box-insensitivity.stderr +++ b/src/test/ui/borrowck/borrowck-box-insensitivity.stderr @@ -161,3 +161,5 @@ error[E0502]: cannot borrow `a.y` as mutable because `a.x.x` is also borrowed as error: aborting due to 16 previous errors +You've got a few errors: E0382, E0502, E0503, E0505 +If you want more information on an error, try using "rustc --explain E0382" diff --git a/src/test/ui/borrowck/borrowck-closures-two-mut.stderr b/src/test/ui/borrowck/borrowck-closures-two-mut.stderr index 0ec744f4a0781..a9d585e332e31 100644 --- a/src/test/ui/borrowck/borrowck-closures-two-mut.stderr +++ b/src/test/ui/borrowck/borrowck-closures-two-mut.stderr @@ -150,3 +150,4 @@ error[E0499]: cannot borrow `x` as mutable more than once at a time (Mir) error: aborting due to 10 previous errors +If you want more information on this error, try using "rustc --explain E0499" diff --git a/src/test/ui/borrowck/borrowck-escaping-closure-error-1.stderr b/src/test/ui/borrowck/borrowck-escaping-closure-error-1.stderr index cc0bd15c489ea..9dca165c02227 100644 --- a/src/test/ui/borrowck/borrowck-escaping-closure-error-1.stderr +++ b/src/test/ui/borrowck/borrowck-escaping-closure-error-1.stderr @@ -12,3 +12,4 @@ help: to force the closure to take ownership of `books` (and any other reference error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0373" diff --git a/src/test/ui/borrowck/borrowck-escaping-closure-error-2.stderr b/src/test/ui/borrowck/borrowck-escaping-closure-error-2.stderr index f8963c175c8ab..6becf90214f14 100644 --- a/src/test/ui/borrowck/borrowck-escaping-closure-error-2.stderr +++ b/src/test/ui/borrowck/borrowck-escaping-closure-error-2.stderr @@ -12,3 +12,4 @@ help: to force the closure to take ownership of `books` (and any other reference error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0373" diff --git a/src/test/ui/borrowck/borrowck-in-static.stderr b/src/test/ui/borrowck/borrowck-in-static.stderr index 6e47c46cdec94..cafc608d794c6 100644 --- a/src/test/ui/borrowck/borrowck-in-static.stderr +++ b/src/test/ui/borrowck/borrowck-in-static.stderr @@ -8,3 +8,4 @@ error[E0507]: cannot move out of captured outer variable in an `Fn` closure error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0507" diff --git a/src/test/ui/borrowck/borrowck-move-error-with-note.stderr b/src/test/ui/borrowck/borrowck-move-error-with-note.stderr index c16c80345d513..b4edd80bfe748 100644 --- a/src/test/ui/borrowck/borrowck-move-error-with-note.stderr +++ b/src/test/ui/borrowck/borrowck-move-error-with-note.stderr @@ -34,3 +34,5 @@ error[E0507]: cannot move out of borrowed content error: aborting due to 3 previous errors +You've got a few errors: E0507, E0509 +If you want more information on an error, try using "rustc --explain E0507" diff --git a/src/test/ui/borrowck/borrowck-move-out-of-vec-tail.stderr b/src/test/ui/borrowck/borrowck-move-out-of-vec-tail.stderr index f99bbb20ccdf1..2199c3ca45c0d 100644 --- a/src/test/ui/borrowck/borrowck-move-out-of-vec-tail.stderr +++ b/src/test/ui/borrowck/borrowck-move-out-of-vec-tail.stderr @@ -15,3 +15,4 @@ error[E0508]: cannot move out of type `[Foo]`, a non-copy slice error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0508" diff --git a/src/test/ui/borrowck/borrowck-reinit.stderr b/src/test/ui/borrowck/borrowck-reinit.stderr index f36ed05051521..4f212e7d79e30 100644 --- a/src/test/ui/borrowck/borrowck-reinit.stderr +++ b/src/test/ui/borrowck/borrowck-reinit.stderr @@ -20,3 +20,4 @@ error[E0382]: use of moved value: `x` (Mir) error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0382" diff --git a/src/test/ui/borrowck/borrowck-report-with-custom-diagnostic.stderr b/src/test/ui/borrowck/borrowck-report-with-custom-diagnostic.stderr index fb6917141fc97..27e34fde24407 100644 --- a/src/test/ui/borrowck/borrowck-report-with-custom-diagnostic.stderr +++ b/src/test/ui/borrowck/borrowck-report-with-custom-diagnostic.stderr @@ -36,3 +36,5 @@ error[E0499]: cannot borrow `x` as mutable more than once at a time error: aborting due to 3 previous errors +You've got a few errors: E0499, E0502 +If you want more information on an error, try using "rustc --explain E0499" diff --git a/src/test/ui/borrowck/borrowck-vec-pattern-nesting.stderr b/src/test/ui/borrowck/borrowck-vec-pattern-nesting.stderr index 899ffb446b96b..2c3509e990233 100644 --- a/src/test/ui/borrowck/borrowck-vec-pattern-nesting.stderr +++ b/src/test/ui/borrowck/borrowck-vec-pattern-nesting.stderr @@ -80,3 +80,5 @@ error[E0508]: cannot move out of type `[std::boxed::Box]`, a non-copy sli error: aborting due to 8 previous errors +You've got a few errors: E0506, E0508 +If you want more information on an error, try using "rustc --explain E0506" diff --git a/src/test/ui/borrowck/immutable-arg.stderr b/src/test/ui/borrowck/immutable-arg.stderr index 40e1878f73214..68aeae30e7171 100644 --- a/src/test/ui/borrowck/immutable-arg.stderr +++ b/src/test/ui/borrowck/immutable-arg.stderr @@ -16,3 +16,4 @@ error[E0384]: cannot assign to immutable argument `_x` (Mir) error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0384" diff --git a/src/test/ui/borrowck/issue-41962.stderr b/src/test/ui/borrowck/issue-41962.stderr index 13305fd965626..377171510c982 100644 --- a/src/test/ui/borrowck/issue-41962.stderr +++ b/src/test/ui/borrowck/issue-41962.stderr @@ -54,3 +54,4 @@ error[E0382]: use of moved value: `maybe.0` (Mir) error: aborting due to 5 previous errors +If you want more information on this error, try using "rustc --explain E0382" diff --git a/src/test/ui/borrowck/mut-borrow-in-loop.stderr b/src/test/ui/borrowck/mut-borrow-in-loop.stderr index 2b614561d8268..755765a0383fc 100644 --- a/src/test/ui/borrowck/mut-borrow-in-loop.stderr +++ b/src/test/ui/borrowck/mut-borrow-in-loop.stderr @@ -27,3 +27,4 @@ error[E0499]: cannot borrow `*arg` as mutable more than once at a time error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0499" diff --git a/src/test/ui/borrowck/mut-borrow-outside-loop.stderr b/src/test/ui/borrowck/mut-borrow-outside-loop.stderr index 716edd21982e9..2064129ab749b 100644 --- a/src/test/ui/borrowck/mut-borrow-outside-loop.stderr +++ b/src/test/ui/borrowck/mut-borrow-outside-loop.stderr @@ -21,3 +21,4 @@ error[E0499]: cannot borrow `inner_void` as mutable more than once at a time error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0499" diff --git a/src/test/ui/borrowck/regions-bound-missing-bound-in-impl.stderr b/src/test/ui/borrowck/regions-bound-missing-bound-in-impl.stderr index e8323247af997..435640769dd5c 100644 --- a/src/test/ui/borrowck/regions-bound-missing-bound-in-impl.stderr +++ b/src/test/ui/borrowck/regions-bound-missing-bound-in-impl.stderr @@ -46,3 +46,5 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to 4 previous errors +You've got a few errors: E0195, E0276, E0308 +If you want more information on an error, try using "rustc --explain E0195" diff --git a/src/test/ui/borrowck/unboxed-closures-move-upvar-from-non-once-ref-closure.stderr b/src/test/ui/borrowck/unboxed-closures-move-upvar-from-non-once-ref-closure.stderr index 6aa0846f53e26..69f4742424b5c 100644 --- a/src/test/ui/borrowck/unboxed-closures-move-upvar-from-non-once-ref-closure.stderr +++ b/src/test/ui/borrowck/unboxed-closures-move-upvar-from-non-once-ref-closure.stderr @@ -9,3 +9,4 @@ error[E0507]: cannot move out of captured outer variable in an `Fn` closure error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0507" diff --git a/src/test/ui/cast-as-bool.stderr b/src/test/ui/cast-as-bool.stderr index 346ebf07fc3f5..cdf4d30ee4c3b 100644 --- a/src/test/ui/cast-as-bool.stderr +++ b/src/test/ui/cast-as-bool.stderr @@ -8,3 +8,4 @@ error[E0054]: cannot cast as `bool` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0054" diff --git a/src/test/ui/cast-errors-issue-43825.stderr b/src/test/ui/cast-errors-issue-43825.stderr index db0a33e927fa1..0f0a5054b5151 100644 --- a/src/test/ui/cast-errors-issue-43825.stderr +++ b/src/test/ui/cast-errors-issue-43825.stderr @@ -6,3 +6,4 @@ error[E0425]: cannot find value `error` in this scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0425" diff --git a/src/test/ui/cast-rfc0401-2.stderr b/src/test/ui/cast-rfc0401-2.stderr index 1febe6a618fde..2262ae8338b0a 100644 --- a/src/test/ui/cast-rfc0401-2.stderr +++ b/src/test/ui/cast-rfc0401-2.stderr @@ -8,3 +8,4 @@ error[E0054]: cannot cast as `bool` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0054" diff --git a/src/test/ui/cast-to-unsized-trait-object-suggestion.stderr b/src/test/ui/cast-to-unsized-trait-object-suggestion.stderr index 55d41848b17a9..b2a73a86bb1af 100644 --- a/src/test/ui/cast-to-unsized-trait-object-suggestion.stderr +++ b/src/test/ui/cast-to-unsized-trait-object-suggestion.stderr @@ -16,3 +16,4 @@ error[E0620]: cast to unsized type: `std::boxed::Box<{integer}>` as `std::marker error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0620" diff --git a/src/test/ui/casts-differing-anon.stderr b/src/test/ui/casts-differing-anon.stderr index 8db6854dba9b6..ccaa6e845b8f2 100644 --- a/src/test/ui/casts-differing-anon.stderr +++ b/src/test/ui/casts-differing-anon.stderr @@ -8,3 +8,4 @@ error[E0606]: casting `*mut impl std::fmt::Debug+?Sized` as `*mut impl std::fmt: error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0606" diff --git a/src/test/ui/casts-issue-46365.stderr b/src/test/ui/casts-issue-46365.stderr index ce3c8593a97ce..1b24d82be2d8f 100644 --- a/src/test/ui/casts-issue-46365.stderr +++ b/src/test/ui/casts-issue-46365.stderr @@ -6,3 +6,4 @@ error[E0412]: cannot find type `Ipsum` in this scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0412" diff --git a/src/test/ui/changing-crates.stderr b/src/test/ui/changing-crates.stderr index 50287fa3fde9f..ba93d78a97079 100644 --- a/src/test/ui/changing-crates.stderr +++ b/src/test/ui/changing-crates.stderr @@ -11,3 +11,4 @@ error[E0460]: found possibly newer version of crate `a` which `b` depends on error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0460" diff --git a/src/test/ui/check_match/issue-35609.stderr b/src/test/ui/check_match/issue-35609.stderr index 1fc1d05636e91..018d35b7c718c 100644 --- a/src/test/ui/check_match/issue-35609.stderr +++ b/src/test/ui/check_match/issue-35609.stderr @@ -48,3 +48,4 @@ error[E0004]: non-exhaustive patterns: `Some(B)`, `Some(C)`, `Some(D)` and 2 mor error: aborting due to 8 previous errors +If you want more information on this error, try using "rustc --explain E0004" diff --git a/src/test/ui/closure-expected-type/expect-region-supply-region.stderr b/src/test/ui/closure-expected-type/expect-region-supply-region.stderr index 5c612522d9a31..876e7b488a402 100644 --- a/src/test/ui/closure-expected-type/expect-region-supply-region.stderr +++ b/src/test/ui/closure-expected-type/expect-region-supply-region.stderr @@ -84,3 +84,4 @@ error: borrowed data cannot be stored outside of its closure error: aborting due to 5 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/closure_context/issue-26046-fn-mut.stderr b/src/test/ui/closure_context/issue-26046-fn-mut.stderr index 77ce1176b5cd0..791cdb46231b3 100644 --- a/src/test/ui/closure_context/issue-26046-fn-mut.stderr +++ b/src/test/ui/closure_context/issue-26046-fn-mut.stderr @@ -11,3 +11,4 @@ error[E0525]: expected a closure that implements the `Fn` trait, but this closur error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0525" diff --git a/src/test/ui/closure_context/issue-26046-fn-once.stderr b/src/test/ui/closure_context/issue-26046-fn-once.stderr index 4eed4461ebafe..98579a282172b 100644 --- a/src/test/ui/closure_context/issue-26046-fn-once.stderr +++ b/src/test/ui/closure_context/issue-26046-fn-once.stderr @@ -11,3 +11,4 @@ error[E0525]: expected a closure that implements the `Fn` trait, but this closur error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0525" diff --git a/src/test/ui/closure_context/issue-42065.stderr b/src/test/ui/closure_context/issue-42065.stderr index c195940ade6fa..05abf4853787c 100644 --- a/src/test/ui/closure_context/issue-42065.stderr +++ b/src/test/ui/closure_context/issue-42065.stderr @@ -14,3 +14,4 @@ note: closure cannot be invoked more than once because it moves the variable `di error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0382" diff --git a/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.stderr b/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.stderr index a7d52301476c9..168aebf13dd85 100644 --- a/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.stderr +++ b/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.stderr @@ -8,3 +8,4 @@ error[E0592]: duplicate definitions with name `f` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0592" diff --git a/src/test/ui/codemap_tests/empty_span.stderr b/src/test/ui/codemap_tests/empty_span.stderr index 3474803b00dd1..0d9654c8697df 100644 --- a/src/test/ui/codemap_tests/empty_span.stderr +++ b/src/test/ui/codemap_tests/empty_span.stderr @@ -6,3 +6,4 @@ error[E0321]: cross-crate traits with a default impl, like `std::marker::Send`, error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0321" diff --git a/src/test/ui/codemap_tests/huge_multispan_highlight.stderr b/src/test/ui/codemap_tests/huge_multispan_highlight.stderr index bc333bde93c6b..f7bcaa64fdd3b 100644 --- a/src/test/ui/codemap_tests/huge_multispan_highlight.stderr +++ b/src/test/ui/codemap_tests/huge_multispan_highlight.stderr @@ -9,3 +9,4 @@ error[E0596]: cannot borrow immutable local variable `x` as mutable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/codemap_tests/issue-11715.stderr b/src/test/ui/codemap_tests/issue-11715.stderr index bd8ffba00d44b..c7fc7d4271aba 100644 --- a/src/test/ui/codemap_tests/issue-11715.stderr +++ b/src/test/ui/codemap_tests/issue-11715.stderr @@ -10,3 +10,4 @@ error[E0499]: cannot borrow `x` as mutable more than once at a time error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0499" diff --git a/src/test/ui/codemap_tests/issue-28308.stderr b/src/test/ui/codemap_tests/issue-28308.stderr index c5afa5ec1a4f8..87b8f04ad1fff 100644 --- a/src/test/ui/codemap_tests/issue-28308.stderr +++ b/src/test/ui/codemap_tests/issue-28308.stderr @@ -8,3 +8,4 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0600" diff --git a/src/test/ui/codemap_tests/one_line.stderr b/src/test/ui/codemap_tests/one_line.stderr index cfe3d527136a3..73ef9219e7e67 100644 --- a/src/test/ui/codemap_tests/one_line.stderr +++ b/src/test/ui/codemap_tests/one_line.stderr @@ -9,3 +9,4 @@ error[E0499]: cannot borrow `v` as mutable more than once at a time error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0499" diff --git a/src/test/ui/codemap_tests/overlapping_inherent_impls.stderr b/src/test/ui/codemap_tests/overlapping_inherent_impls.stderr index 0ccdd20765176..858e3e5334930 100644 --- a/src/test/ui/codemap_tests/overlapping_inherent_impls.stderr +++ b/src/test/ui/codemap_tests/overlapping_inherent_impls.stderr @@ -29,3 +29,4 @@ error[E0592]: duplicate definitions with name `baz` error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0592" diff --git a/src/test/ui/codemap_tests/overlapping_spans.stderr b/src/test/ui/codemap_tests/overlapping_spans.stderr index dc801b20dfb9d..edb970ffdff83 100644 --- a/src/test/ui/codemap_tests/overlapping_spans.stderr +++ b/src/test/ui/codemap_tests/overlapping_spans.stderr @@ -9,3 +9,4 @@ error[E0509]: cannot move out of type `S`, which implements the `Drop` trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0509" diff --git a/src/test/ui/codemap_tests/tab.stderr b/src/test/ui/codemap_tests/tab.stderr index c887821c6d11a..cd52f414f64b4 100644 --- a/src/test/ui/codemap_tests/tab.stderr +++ b/src/test/ui/codemap_tests/tab.stderr @@ -17,3 +17,5 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +You've got a few errors: E0308, E0425 +If you want more information on an error, try using "rustc --explain E0308" diff --git a/src/test/ui/codemap_tests/tab_3.stderr b/src/test/ui/codemap_tests/tab_3.stderr index 322020626639b..0435aed7c8a1e 100644 --- a/src/test/ui/codemap_tests/tab_3.stderr +++ b/src/test/ui/codemap_tests/tab_3.stderr @@ -11,3 +11,4 @@ error[E0382]: use of moved value: `some_vec` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0382" diff --git a/src/test/ui/codemap_tests/two_files.stderr b/src/test/ui/codemap_tests/two_files.stderr index c0cfeef194da6..8798081ad6d31 100644 --- a/src/test/ui/codemap_tests/two_files.stderr +++ b/src/test/ui/codemap_tests/two_files.stderr @@ -6,3 +6,4 @@ error[E0404]: expected trait, found type alias `Bar` error: cannot continue compilation due to previous error +If you want more information on this error, try using "rustc --explain E0404" diff --git a/src/test/ui/codemap_tests/unicode_2.stderr b/src/test/ui/codemap_tests/unicode_2.stderr index 9ffd08ca06f83..879553740f3f1 100644 --- a/src/test/ui/codemap_tests/unicode_2.stderr +++ b/src/test/ui/codemap_tests/unicode_2.stderr @@ -22,3 +22,4 @@ error[E0425]: cannot find value `a̐é` in this scope error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0425" diff --git a/src/test/ui/coercion-missing-tail-expected-type.stderr b/src/test/ui/coercion-missing-tail-expected-type.stderr index 93f57216ca063..1e327a614a589 100644 --- a/src/test/ui/coercion-missing-tail-expected-type.stderr +++ b/src/test/ui/coercion-missing-tail-expected-type.stderr @@ -26,3 +26,4 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/coherence-error-suppression.stderr b/src/test/ui/coherence-error-suppression.stderr index 57b746f19e856..ba8ad78ed40b6 100644 --- a/src/test/ui/coherence-error-suppression.stderr +++ b/src/test/ui/coherence-error-suppression.stderr @@ -6,3 +6,4 @@ error[E0412]: cannot find type `DoesNotExist` in this scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0412" diff --git a/src/test/ui/coherence-impls-copy.stderr b/src/test/ui/coherence-impls-copy.stderr index e5e91df771fdc..e77771b43ddb0 100644 --- a/src/test/ui/coherence-impls-copy.stderr +++ b/src/test/ui/coherence-impls-copy.stderr @@ -57,3 +57,5 @@ error[E0117]: only traits defined in the current crate can be implemented for ar error: aborting due to 8 previous errors +You've got a few errors: E0117, E0206 +If you want more information on an error, try using "rustc --explain E0117" diff --git a/src/test/ui/coherence-overlap-downstream-inherent.stderr b/src/test/ui/coherence-overlap-downstream-inherent.stderr index aca6800deb5cc..45a2bef9dc2c2 100644 --- a/src/test/ui/coherence-overlap-downstream-inherent.stderr +++ b/src/test/ui/coherence-overlap-downstream-inherent.stderr @@ -20,3 +20,4 @@ error[E0592]: duplicate definitions with name `f` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0592" diff --git a/src/test/ui/coherence-overlap-downstream.stderr b/src/test/ui/coherence-overlap-downstream.stderr index c94ffd60d261f..884afe72d04c1 100644 --- a/src/test/ui/coherence-overlap-downstream.stderr +++ b/src/test/ui/coherence-overlap-downstream.stderr @@ -18,3 +18,4 @@ error[E0119]: conflicting implementations of trait `Foo<_>` for type `i32`: error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0119" diff --git a/src/test/ui/coherence-overlap-issue-23516-inherent.stderr b/src/test/ui/coherence-overlap-issue-23516-inherent.stderr index 24d9b26fe9d62..95a034ac87799 100644 --- a/src/test/ui/coherence-overlap-issue-23516-inherent.stderr +++ b/src/test/ui/coherence-overlap-issue-23516-inherent.stderr @@ -11,3 +11,4 @@ error[E0592]: duplicate definitions with name `dummy` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0592" diff --git a/src/test/ui/coherence-overlap-issue-23516.stderr b/src/test/ui/coherence-overlap-issue-23516.stderr index c27e1ad76200c..338490862801b 100644 --- a/src/test/ui/coherence-overlap-issue-23516.stderr +++ b/src/test/ui/coherence-overlap-issue-23516.stderr @@ -10,3 +10,4 @@ error[E0119]: conflicting implementations of trait `Sweet` for type `std::boxed: error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0119" diff --git a/src/test/ui/coherence-overlap-upstream-inherent.stderr b/src/test/ui/coherence-overlap-upstream-inherent.stderr index db32bcb81c6ee..0e398eed792c7 100644 --- a/src/test/ui/coherence-overlap-upstream-inherent.stderr +++ b/src/test/ui/coherence-overlap-upstream-inherent.stderr @@ -11,3 +11,4 @@ error[E0592]: duplicate definitions with name `dummy` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0592" diff --git a/src/test/ui/coherence-overlap-upstream.stderr b/src/test/ui/coherence-overlap-upstream.stderr index 9b5b67fe9c7dd..c784dbecb9ca5 100644 --- a/src/test/ui/coherence-overlap-upstream.stderr +++ b/src/test/ui/coherence-overlap-upstream.stderr @@ -10,3 +10,4 @@ error[E0119]: conflicting implementations of trait `Foo` for type `i16`: error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0119" diff --git a/src/test/ui/command-line-diagnostics.stderr b/src/test/ui/command-line-diagnostics.stderr index 48ca45914c65d..fd7f98ea563ef 100644 --- a/src/test/ui/command-line-diagnostics.stderr +++ b/src/test/ui/command-line-diagnostics.stderr @@ -8,3 +8,4 @@ error[E0384]: cannot assign twice to immutable variable `x` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0384" diff --git a/src/test/ui/compare-method/proj-outlives-region.stderr b/src/test/ui/compare-method/proj-outlives-region.stderr index e6e93d14b3cf0..f695aa759066c 100644 --- a/src/test/ui/compare-method/proj-outlives-region.stderr +++ b/src/test/ui/compare-method/proj-outlives-region.stderr @@ -9,3 +9,4 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0276" diff --git a/src/test/ui/compare-method/region-extra-2.stderr b/src/test/ui/compare-method/region-extra-2.stderr index 2b8a268fdcc36..59af795be5752 100644 --- a/src/test/ui/compare-method/region-extra-2.stderr +++ b/src/test/ui/compare-method/region-extra-2.stderr @@ -9,3 +9,4 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0276" diff --git a/src/test/ui/compare-method/region-extra.stderr b/src/test/ui/compare-method/region-extra.stderr index d89b3a921b9e4..8941abb6f1625 100644 --- a/src/test/ui/compare-method/region-extra.stderr +++ b/src/test/ui/compare-method/region-extra.stderr @@ -9,3 +9,4 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0276" diff --git a/src/test/ui/compare-method/region-unrelated.stderr b/src/test/ui/compare-method/region-unrelated.stderr index 156143cd54c47..c5e7cad7cfd5d 100644 --- a/src/test/ui/compare-method/region-unrelated.stderr +++ b/src/test/ui/compare-method/region-unrelated.stderr @@ -9,3 +9,4 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0276" diff --git a/src/test/ui/compare-method/reordered-type-param.stderr b/src/test/ui/compare-method/reordered-type-param.stderr index 4620248e2efea..9a5cb6267c3f4 100644 --- a/src/test/ui/compare-method/reordered-type-param.stderr +++ b/src/test/ui/compare-method/reordered-type-param.stderr @@ -12,3 +12,4 @@ error[E0053]: method `b` has an incompatible type for trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0053" diff --git a/src/test/ui/compare-method/trait-bound-on-type-parameter.stderr b/src/test/ui/compare-method/trait-bound-on-type-parameter.stderr index e3a1eb9ee66c4..84460922b6723 100644 --- a/src/test/ui/compare-method/trait-bound-on-type-parameter.stderr +++ b/src/test/ui/compare-method/trait-bound-on-type-parameter.stderr @@ -9,3 +9,4 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0276" diff --git a/src/test/ui/compare-method/traits-misc-mismatch-1.stderr b/src/test/ui/compare-method/traits-misc-mismatch-1.stderr index ba5284eb65309..74b529aab03c2 100644 --- a/src/test/ui/compare-method/traits-misc-mismatch-1.stderr +++ b/src/test/ui/compare-method/traits-misc-mismatch-1.stderr @@ -63,3 +63,4 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to 7 previous errors +If you want more information on this error, try using "rustc --explain E0276" diff --git a/src/test/ui/compare-method/traits-misc-mismatch-2.stderr b/src/test/ui/compare-method/traits-misc-mismatch-2.stderr index 983d87d5b88d8..97f96c7a6a5d5 100644 --- a/src/test/ui/compare-method/traits-misc-mismatch-2.stderr +++ b/src/test/ui/compare-method/traits-misc-mismatch-2.stderr @@ -9,3 +9,4 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0276" diff --git a/src/test/ui/const-deref-ptr.stderr b/src/test/ui/const-deref-ptr.stderr index 60f9a3a37ba99..d702d942107bb 100644 --- a/src/test/ui/const-deref-ptr.stderr +++ b/src/test/ui/const-deref-ptr.stderr @@ -6,3 +6,4 @@ error[E0396]: raw pointers cannot be dereferenced in statics error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0396" diff --git a/src/test/ui/const-eval-overflow-2.stderr b/src/test/ui/const-eval-overflow-2.stderr index a9d29d0107192..fa8ddaaf43dc7 100644 --- a/src/test/ui/const-eval-overflow-2.stderr +++ b/src/test/ui/const-eval-overflow-2.stderr @@ -12,3 +12,4 @@ note: for pattern here error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0080" diff --git a/src/test/ui/const-eval-overflow-4.stderr b/src/test/ui/const-eval-overflow-4.stderr index 98c6ae1b9bcac..a02a587d0fdb7 100644 --- a/src/test/ui/const-eval-overflow-4.stderr +++ b/src/test/ui/const-eval-overflow-4.stderr @@ -14,3 +14,4 @@ error[E0080]: constant evaluation error error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0080" diff --git a/src/test/ui/const-eval-span.stderr b/src/test/ui/const-eval-span.stderr index e64af57a18649..0caa87d22a215 100644 --- a/src/test/ui/const-eval-span.stderr +++ b/src/test/ui/const-eval-span.stderr @@ -9,3 +9,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/const-eval/issue-43197.stderr b/src/test/ui/const-eval/issue-43197.stderr index 82baab620ffab..c2fe2ff367ef1 100644 --- a/src/test/ui/const-eval/issue-43197.stderr +++ b/src/test/ui/const-eval/issue-43197.stderr @@ -26,3 +26,4 @@ error[E0080]: constant evaluation error error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0080" diff --git a/src/test/ui/const-expr-addr-operator.stderr b/src/test/ui/const-expr-addr-operator.stderr index f6587c703bd7f..b501a552a2e6c 100644 --- a/src/test/ui/const-expr-addr-operator.stderr +++ b/src/test/ui/const-expr-addr-operator.stderr @@ -12,3 +12,4 @@ note: for pattern here error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0080" diff --git a/src/test/ui/const-fn-error.stderr b/src/test/ui/const-fn-error.stderr index 4f4f8b5ad0093..a66453c4e62f5 100644 --- a/src/test/ui/const-fn-error.stderr +++ b/src/test/ui/const-fn-error.stderr @@ -38,3 +38,5 @@ note: for constant expression here error: aborting due to 4 previous errors +You've got a few errors: E0015, E0016, E0019, E0080 +If you want more information on an error, try using "rustc --explain E0015" diff --git a/src/test/ui/const-fn-mismatch.stderr b/src/test/ui/const-fn-mismatch.stderr index 4f6a98fb8eb05..17872f90bb8e3 100644 --- a/src/test/ui/const-fn-mismatch.stderr +++ b/src/test/ui/const-fn-mismatch.stderr @@ -6,3 +6,4 @@ error[E0379]: trait fns cannot be declared const error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0379" diff --git a/src/test/ui/const-fn-not-in-trait.stderr b/src/test/ui/const-fn-not-in-trait.stderr index d23bf3b411b28..2246e01711e82 100644 --- a/src/test/ui/const-fn-not-in-trait.stderr +++ b/src/test/ui/const-fn-not-in-trait.stderr @@ -12,3 +12,4 @@ error[E0379]: trait fns cannot be declared const error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0379" diff --git a/src/test/ui/const-len-underflow-separate-spans.stderr b/src/test/ui/const-len-underflow-separate-spans.stderr index 6e6c2130e1ccd..8678bc48d4b0b 100644 --- a/src/test/ui/const-len-underflow-separate-spans.stderr +++ b/src/test/ui/const-len-underflow-separate-spans.stderr @@ -20,3 +20,4 @@ note: for constant expression here error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0080" diff --git a/src/test/ui/const-pattern-irrefutable.stderr b/src/test/ui/const-pattern-irrefutable.stderr index af48b7736381a..d2bba1ca29f89 100644 --- a/src/test/ui/const-pattern-irrefutable.stderr +++ b/src/test/ui/const-pattern-irrefutable.stderr @@ -18,3 +18,4 @@ error[E0005]: refutable pattern in local binding: `_` not covered error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0005" diff --git a/src/test/ui/const-pattern-not-const-evaluable.stderr b/src/test/ui/const-pattern-not-const-evaluable.stderr index 5441937e4dd60..9dccf4af6f41f 100644 --- a/src/test/ui/const-pattern-not-const-evaluable.stderr +++ b/src/test/ui/const-pattern-not-const-evaluable.stderr @@ -12,3 +12,4 @@ note: for pattern here error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0080" diff --git a/src/test/ui/const-unsized.stderr b/src/test/ui/const-unsized.stderr index ba948643a37b0..5946f94f700a7 100644 --- a/src/test/ui/const-unsized.stderr +++ b/src/test/ui/const-unsized.stderr @@ -36,3 +36,4 @@ error[E0277]: the trait bound `str: std::marker::Sized` is not satisfied error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/cycle-trait-supertrait-indirect.stderr b/src/test/ui/cycle-trait-supertrait-indirect.stderr index a01565546462d..7bc6dd51244f5 100644 --- a/src/test/ui/cycle-trait-supertrait-indirect.stderr +++ b/src/test/ui/cycle-trait-supertrait-indirect.stderr @@ -18,3 +18,4 @@ note: ...which then requires computing the supertraits of `C`... error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0391" diff --git a/src/test/ui/deref-suggestion.stderr b/src/test/ui/deref-suggestion.stderr index 4c2896e220735..3b91929ba3bfc 100644 --- a/src/test/ui/deref-suggestion.stderr +++ b/src/test/ui/deref-suggestion.stderr @@ -60,3 +60,4 @@ error[E0308]: mismatched types error: aborting due to 5 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/derived-errors/issue-31997-1.stderr b/src/test/ui/derived-errors/issue-31997-1.stderr index 732cf9bacbcd1..2a0a4c8838ddb 100644 --- a/src/test/ui/derived-errors/issue-31997-1.stderr +++ b/src/test/ui/derived-errors/issue-31997-1.stderr @@ -6,3 +6,4 @@ error[E0433]: failed to resolve. Use of undeclared type or module `HashMap` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0433" diff --git a/src/test/ui/did_you_mean/E0178.stderr b/src/test/ui/did_you_mean/E0178.stderr index 4fe8849feef11..29571a8f704eb 100644 --- a/src/test/ui/did_you_mean/E0178.stderr +++ b/src/test/ui/did_you_mean/E0178.stderr @@ -24,3 +24,4 @@ error[E0178]: expected a path on the left-hand side of `+`, not `fn() -> Foo` error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0178" diff --git a/src/test/ui/did_you_mean/bad-assoc-pat.stderr b/src/test/ui/did_you_mean/bad-assoc-pat.stderr index 1ca4576d88f60..8ab3bafa6205e 100644 --- a/src/test/ui/did_you_mean/bad-assoc-pat.stderr +++ b/src/test/ui/did_you_mean/bad-assoc-pat.stderr @@ -48,3 +48,4 @@ error[E0599]: no associated item named `AssocItem` found for type `(u8,)` in the error: aborting due to 8 previous errors +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/did_you_mean/bad-assoc-ty.stderr b/src/test/ui/did_you_mean/bad-assoc-ty.stderr index c44dc5a046880..9aa6421d47e58 100644 --- a/src/test/ui/did_you_mean/bad-assoc-ty.stderr +++ b/src/test/ui/did_you_mean/bad-assoc-ty.stderr @@ -104,3 +104,5 @@ error[E0223]: ambiguous associated type error: aborting due to 15 previous errors +You've got a few errors: E0121, E0223 +If you want more information on an error, try using "rustc --explain E0121" diff --git a/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr b/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr index 9010de081da46..b1dac9b64b71c 100644 --- a/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr +++ b/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-1.stderr @@ -10,3 +10,4 @@ error[E0277]: the trait bound `Bar: Foo` is not satisfied error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-2.stderr b/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-2.stderr index e9591a64784d5..f574ae0fa8406 100644 --- a/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-2.stderr +++ b/src/test/ui/did_you_mean/issue-21659-show-relevant-trait-impls-2.stderr @@ -13,3 +13,4 @@ error[E0277]: the trait bound `Bar: Foo` is not satisfied error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/did_you_mean/issue-31424.stderr b/src/test/ui/did_you_mean/issue-31424.stderr index cd96d28ac98cb..725ede6d37b6f 100644 --- a/src/test/ui/did_you_mean/issue-31424.stderr +++ b/src/test/ui/did_you_mean/issue-31424.stderr @@ -17,3 +17,4 @@ error[E0596]: cannot borrow immutable argument `self` as mutable error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/did_you_mean/issue-34126.stderr b/src/test/ui/did_you_mean/issue-34126.stderr index a4921046c7833..9b290ae99f742 100644 --- a/src/test/ui/did_you_mean/issue-34126.stderr +++ b/src/test/ui/did_you_mean/issue-34126.stderr @@ -9,3 +9,4 @@ error[E0596]: cannot borrow immutable argument `self` as mutable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/did_you_mean/issue-34337.stderr b/src/test/ui/did_you_mean/issue-34337.stderr index a53d3d7277aa3..135d3ad945c67 100644 --- a/src/test/ui/did_you_mean/issue-34337.stderr +++ b/src/test/ui/did_you_mean/issue-34337.stderr @@ -9,3 +9,4 @@ error[E0596]: cannot borrow immutable local variable `key` as mutable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/did_you_mean/issue-35937.stderr b/src/test/ui/did_you_mean/issue-35937.stderr index cfaff9731704f..2a7ffeab737c3 100644 --- a/src/test/ui/did_you_mean/issue-35937.stderr +++ b/src/test/ui/did_you_mean/issue-35937.stderr @@ -24,3 +24,5 @@ error[E0594]: cannot assign to field `s.x` of immutable binding error: aborting due to 3 previous errors +You've got a few errors: E0594, E0596 +If you want more information on an error, try using "rustc --explain E0594" diff --git a/src/test/ui/did_you_mean/issue-36798.stderr b/src/test/ui/did_you_mean/issue-36798.stderr index 73319d567bd76..03f71fbb18375 100644 --- a/src/test/ui/did_you_mean/issue-36798.stderr +++ b/src/test/ui/did_you_mean/issue-36798.stderr @@ -6,3 +6,4 @@ error[E0609]: no field `baz` on type `Foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0609" diff --git a/src/test/ui/did_you_mean/issue-36798_unknown_field.stderr b/src/test/ui/did_you_mean/issue-36798_unknown_field.stderr index f17672b234fc6..f866887433b06 100644 --- a/src/test/ui/did_you_mean/issue-36798_unknown_field.stderr +++ b/src/test/ui/did_you_mean/issue-36798_unknown_field.stderr @@ -8,3 +8,4 @@ error[E0609]: no field `zz` on type `Foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0609" diff --git a/src/test/ui/did_you_mean/issue-37139.stderr b/src/test/ui/did_you_mean/issue-37139.stderr index 65de724616d10..a5269c4e1a84e 100644 --- a/src/test/ui/did_you_mean/issue-37139.stderr +++ b/src/test/ui/did_you_mean/issue-37139.stderr @@ -9,3 +9,4 @@ error[E0596]: cannot borrow immutable local variable `x` as mutable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/did_you_mean/issue-38054-do-not-show-unresolved-names.stderr b/src/test/ui/did_you_mean/issue-38054-do-not-show-unresolved-names.stderr index c58958c7f5e3f..086ed136ce16e 100644 --- a/src/test/ui/did_you_mean/issue-38054-do-not-show-unresolved-names.stderr +++ b/src/test/ui/did_you_mean/issue-38054-do-not-show-unresolved-names.stderr @@ -12,3 +12,4 @@ error[E0432]: unresolved import `Foo1` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0432" diff --git a/src/test/ui/did_you_mean/issue-38147-1.stderr b/src/test/ui/did_you_mean/issue-38147-1.stderr index 6a262b3102638..aab6427c1449c 100644 --- a/src/test/ui/did_you_mean/issue-38147-1.stderr +++ b/src/test/ui/did_you_mean/issue-38147-1.stderr @@ -8,3 +8,4 @@ error[E0389]: cannot borrow data mutably in a `&` reference error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0389" diff --git a/src/test/ui/did_you_mean/issue-38147-2.stderr b/src/test/ui/did_you_mean/issue-38147-2.stderr index 569bfa11803c9..cc52f2a7830e5 100644 --- a/src/test/ui/did_you_mean/issue-38147-2.stderr +++ b/src/test/ui/did_you_mean/issue-38147-2.stderr @@ -9,3 +9,4 @@ error[E0596]: cannot borrow borrowed content `*self.s` of immutable binding as m error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/did_you_mean/issue-38147-3.stderr b/src/test/ui/did_you_mean/issue-38147-3.stderr index 75d904d394a8b..12282b2fdeecb 100644 --- a/src/test/ui/did_you_mean/issue-38147-3.stderr +++ b/src/test/ui/did_you_mean/issue-38147-3.stderr @@ -9,3 +9,4 @@ error[E0596]: cannot borrow borrowed content `*self.s` of immutable binding as m error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/did_you_mean/issue-38147-4.stderr b/src/test/ui/did_you_mean/issue-38147-4.stderr index 33bf2e1160c90..3bc94dfbd638c 100644 --- a/src/test/ui/did_you_mean/issue-38147-4.stderr +++ b/src/test/ui/did_you_mean/issue-38147-4.stderr @@ -8,3 +8,4 @@ error[E0389]: cannot borrow data mutably in a `&` reference error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0389" diff --git a/src/test/ui/did_you_mean/issue-39544.stderr b/src/test/ui/did_you_mean/issue-39544.stderr index d8c089806cdf9..47b11f707d21e 100644 --- a/src/test/ui/did_you_mean/issue-39544.stderr +++ b/src/test/ui/did_you_mean/issue-39544.stderr @@ -98,3 +98,5 @@ error[E0594]: cannot assign to borrowed content `*x.0` of immutable binding error: aborting due to 12 previous errors +You've got a few errors: E0594, E0596 +If you want more information on an error, try using "rustc --explain E0594" diff --git a/src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr b/src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr index 7ca3e8728fd9c..b861064399e1b 100644 --- a/src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr +++ b/src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr @@ -53,3 +53,4 @@ note: required by `Foo::bar` error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/did_you_mean/issue-40006.stderr b/src/test/ui/did_you_mean/issue-40006.stderr index 88d63cdbb5db4..cc4886f3b0f02 100644 --- a/src/test/ui/did_you_mean/issue-40006.stderr +++ b/src/test/ui/did_you_mean/issue-40006.stderr @@ -66,3 +66,4 @@ error[E0038]: the trait `X` cannot be made into an object error: aborting due to 9 previous errors +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/did_you_mean/issue-40823.stderr b/src/test/ui/did_you_mean/issue-40823.stderr index 0b71fc1d306a2..e11ed5d4c4ff7 100644 --- a/src/test/ui/did_you_mean/issue-40823.stderr +++ b/src/test/ui/did_you_mean/issue-40823.stderr @@ -6,3 +6,4 @@ error[E0596]: cannot borrow immutable borrowed content `*buf` as mutable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/did_you_mean/issue-42599_available_fields_note.stderr b/src/test/ui/did_you_mean/issue-42599_available_fields_note.stderr index d5dcef638471e..3ceb282c60eb2 100644 --- a/src/test/ui/did_you_mean/issue-42599_available_fields_note.stderr +++ b/src/test/ui/did_you_mean/issue-42599_available_fields_note.stderr @@ -28,3 +28,5 @@ error[E0609]: no field `egregiously_nonexistent_field` on type `submodule::Demo` error: aborting due to 4 previous errors +You've got a few errors: E0560, E0609 +If you want more information on an error, try using "rustc --explain E0560" diff --git a/src/test/ui/did_you_mean/issue-42764.stderr b/src/test/ui/did_you_mean/issue-42764.stderr index 0cc157aa5bb5c..748b7165e51ac 100644 --- a/src/test/ui/did_you_mean/issue-42764.stderr +++ b/src/test/ui/did_you_mean/issue-42764.stderr @@ -15,3 +15,4 @@ help: try using a variant of the expected type error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/did_you_mean/issue-43871-enum-instead-of-variant.stderr b/src/test/ui/did_you_mean/issue-43871-enum-instead-of-variant.stderr index 5390e541fb714..e10abdbb4f988 100644 --- a/src/test/ui/did_you_mean/issue-43871-enum-instead-of-variant.stderr +++ b/src/test/ui/did_you_mean/issue-43871-enum-instead-of-variant.stderr @@ -30,3 +30,5 @@ error[E0532]: expected tuple struct/variant, found enum `Example` error: aborting due to 3 previous errors +You've got a few errors: E0423, E0532 +If you want more information on an error, try using "rustc --explain E0423" diff --git a/src/test/ui/did_you_mean/recursion_limit.stderr b/src/test/ui/did_you_mean/recursion_limit.stderr index 2bc7e9e46e7c5..529c8c11f32a7 100644 --- a/src/test/ui/did_you_mean/recursion_limit.stderr +++ b/src/test/ui/did_you_mean/recursion_limit.stderr @@ -23,3 +23,4 @@ note: required by `is_send` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0275" diff --git a/src/test/ui/did_you_mean/recursion_limit_deref.stderr b/src/test/ui/did_you_mean/recursion_limit_deref.stderr index 860c6bb5b909f..f78fa4c48b21c 100644 --- a/src/test/ui/did_you_mean/recursion_limit_deref.stderr +++ b/src/test/ui/did_you_mean/recursion_limit_deref.stderr @@ -21,3 +21,5 @@ error[E0308]: mismatched types error: aborting due to 3 previous errors +You've got a few errors: E0055, E0308 +If you want more information on an error, try using "rustc --explain E0055" diff --git a/src/test/ui/did_you_mean/trait-object-reference-without-parens-suggestion.stderr b/src/test/ui/did_you_mean/trait-object-reference-without-parens-suggestion.stderr index 325a19eee140b..2923d6f760a02 100644 --- a/src/test/ui/did_you_mean/trait-object-reference-without-parens-suggestion.stderr +++ b/src/test/ui/did_you_mean/trait-object-reference-without-parens-suggestion.stderr @@ -20,3 +20,5 @@ error[E0038]: the trait `std::marker::Copy` cannot be made into an object error: aborting due to 3 previous errors +You've got a few errors: E0038, E0178 +If you want more information on an error, try using "rustc --explain E0038" diff --git a/src/test/ui/discrim-overflow-2.stderr b/src/test/ui/discrim-overflow-2.stderr index 660110cd73715..c8c649fd597ae 100644 --- a/src/test/ui/discrim-overflow-2.stderr +++ b/src/test/ui/discrim-overflow-2.stderr @@ -64,3 +64,4 @@ error[E0370]: enum discriminant overflowed error: aborting due to 8 previous errors +If you want more information on this error, try using "rustc --explain E0370" diff --git a/src/test/ui/discrim-overflow.stderr b/src/test/ui/discrim-overflow.stderr index 733810006d74a..be844013ba14d 100644 --- a/src/test/ui/discrim-overflow.stderr +++ b/src/test/ui/discrim-overflow.stderr @@ -64,3 +64,4 @@ error[E0370]: enum discriminant overflowed error: aborting due to 8 previous errors +If you want more information on this error, try using "rustc --explain E0370" diff --git a/src/test/ui/double-import.stderr b/src/test/ui/double-import.stderr index 2a0f9ee34f2be..33fad022116cf 100644 --- a/src/test/ui/double-import.stderr +++ b/src/test/ui/double-import.stderr @@ -14,3 +14,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0252" diff --git a/src/test/ui/dropck/dropck-eyepatch-extern-crate.stderr b/src/test/ui/dropck/dropck-eyepatch-extern-crate.stderr index 8aa4fba708526..bd7580ca751c3 100644 --- a/src/test/ui/dropck/dropck-eyepatch-extern-crate.stderr +++ b/src/test/ui/dropck/dropck-eyepatch-extern-crate.stderr @@ -44,3 +44,4 @@ error[E0597]: `c` does not live long enough error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0597" diff --git a/src/test/ui/dropck/dropck-eyepatch-implies-unsafe-impl.stderr b/src/test/ui/dropck/dropck-eyepatch-implies-unsafe-impl.stderr index 2c788e952edbf..cb4f3d213987c 100644 --- a/src/test/ui/dropck/dropck-eyepatch-implies-unsafe-impl.stderr +++ b/src/test/ui/dropck/dropck-eyepatch-implies-unsafe-impl.stderr @@ -22,3 +22,4 @@ error[E0569]: requires an `unsafe impl` declaration due to `#[may_dangle]` attri error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0569" diff --git a/src/test/ui/dropck/dropck-eyepatch-reorder.stderr b/src/test/ui/dropck/dropck-eyepatch-reorder.stderr index 4fa188908fddb..0fdedfb7cf5c2 100644 --- a/src/test/ui/dropck/dropck-eyepatch-reorder.stderr +++ b/src/test/ui/dropck/dropck-eyepatch-reorder.stderr @@ -44,3 +44,4 @@ error[E0597]: `c` does not live long enough error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0597" diff --git a/src/test/ui/dropck/dropck-eyepatch.stderr b/src/test/ui/dropck/dropck-eyepatch.stderr index 79fb9222d5ca3..ce3ffc034c53d 100644 --- a/src/test/ui/dropck/dropck-eyepatch.stderr +++ b/src/test/ui/dropck/dropck-eyepatch.stderr @@ -44,3 +44,4 @@ error[E0597]: `c` does not live long enough error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0597" diff --git a/src/test/ui/e0119/complex-impl.stderr b/src/test/ui/e0119/complex-impl.stderr index 926dac3f9b132..00953ef2eee3f 100644 --- a/src/test/ui/e0119/complex-impl.stderr +++ b/src/test/ui/e0119/complex-impl.stderr @@ -16,3 +16,5 @@ error[E0210]: type parameter `R` must be used as the type parameter for some loc error: aborting due to 2 previous errors +You've got a few errors: E0119, E0210 +If you want more information on an error, try using "rustc --explain E0119" diff --git a/src/test/ui/e0119/conflict-with-std.stderr b/src/test/ui/e0119/conflict-with-std.stderr index 4c1f9405fb962..cebd6e20453f1 100644 --- a/src/test/ui/e0119/conflict-with-std.stderr +++ b/src/test/ui/e0119/conflict-with-std.stderr @@ -29,3 +29,4 @@ error[E0119]: conflicting implementations of trait `std::convert::TryFrom` fo error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0119" diff --git a/src/test/ui/e0119/issue-23563.stderr b/src/test/ui/e0119/issue-23563.stderr index 8bbae56d8436d..47489fecd6cbc 100644 --- a/src/test/ui/e0119/issue-23563.stderr +++ b/src/test/ui/e0119/issue-23563.stderr @@ -10,3 +10,4 @@ error[E0119]: conflicting implementations of trait `a::LolFrom<&[_]>` for type ` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0119" diff --git a/src/test/ui/e0119/issue-27403.stderr b/src/test/ui/e0119/issue-27403.stderr index 4417ea9099fa8..a2d340fa21131 100644 --- a/src/test/ui/e0119/issue-27403.stderr +++ b/src/test/ui/e0119/issue-27403.stderr @@ -10,3 +10,4 @@ error[E0119]: conflicting implementations of trait `std::convert::Into<_>` for t error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0119" diff --git a/src/test/ui/e0119/issue-28981.stderr b/src/test/ui/e0119/issue-28981.stderr index 3ea1c9adc9b46..df5978100d729 100644 --- a/src/test/ui/e0119/issue-28981.stderr +++ b/src/test/ui/e0119/issue-28981.stderr @@ -16,3 +16,5 @@ error[E0210]: type parameter `Foo` must be used as the type parameter for some l error: aborting due to 2 previous errors +You've got a few errors: E0119, E0210 +If you want more information on an error, try using "rustc --explain E0119" diff --git a/src/test/ui/e0119/so-37347311.stderr b/src/test/ui/e0119/so-37347311.stderr index 84fb049df357d..d62c37f5aae97 100644 --- a/src/test/ui/e0119/so-37347311.stderr +++ b/src/test/ui/e0119/so-37347311.stderr @@ -9,3 +9,4 @@ error[E0119]: conflicting implementations of trait `std::convert::From::B error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0164" diff --git a/src/test/ui/error-codes/E0165.stderr b/src/test/ui/error-codes/E0165.stderr index 3c90f19a0dc7c..14c70ee69872b 100644 --- a/src/test/ui/error-codes/E0165.stderr +++ b/src/test/ui/error-codes/E0165.stderr @@ -6,3 +6,4 @@ error[E0165]: irrefutable while-let pattern error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0165" diff --git a/src/test/ui/error-codes/E0184.stderr b/src/test/ui/error-codes/E0184.stderr index 53bda3bb57591..a42ac11bc5346 100644 --- a/src/test/ui/error-codes/E0184.stderr +++ b/src/test/ui/error-codes/E0184.stderr @@ -6,3 +6,4 @@ error[E0184]: the trait `Copy` may not be implemented for this type; the type ha error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0184" diff --git a/src/test/ui/error-codes/E0185.stderr b/src/test/ui/error-codes/E0185.stderr index 0d24a3712d558..58fbc2220d3ef 100644 --- a/src/test/ui/error-codes/E0185.stderr +++ b/src/test/ui/error-codes/E0185.stderr @@ -9,3 +9,4 @@ error[E0185]: method `foo` has a `&self` declaration in the impl, but not in the error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0185" diff --git a/src/test/ui/error-codes/E0186.stderr b/src/test/ui/error-codes/E0186.stderr index 598057db3a662..e212e22900117 100644 --- a/src/test/ui/error-codes/E0186.stderr +++ b/src/test/ui/error-codes/E0186.stderr @@ -9,3 +9,4 @@ error[E0186]: method `foo` has a `&self` declaration in the trait, but not in th error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0186" diff --git a/src/test/ui/error-codes/E0191.stderr b/src/test/ui/error-codes/E0191.stderr index 8f99a6ecffb99..2b00f3d346d96 100644 --- a/src/test/ui/error-codes/E0191.stderr +++ b/src/test/ui/error-codes/E0191.stderr @@ -6,3 +6,4 @@ error[E0191]: the value of the associated type `Bar` (from the trait `Trait`) mu error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0191" diff --git a/src/test/ui/error-codes/E0192.stderr b/src/test/ui/error-codes/E0192.stderr index b592c87efa7a0..4a5df56c0cc1c 100644 --- a/src/test/ui/error-codes/E0192.stderr +++ b/src/test/ui/error-codes/E0192.stderr @@ -6,3 +6,4 @@ error[E0192]: negative impls are only allowed for auto traits (e.g., `Send` and error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0192" diff --git a/src/test/ui/error-codes/E0194.stderr b/src/test/ui/error-codes/E0194.stderr index 360e8c08a3c97..3b5d512a1c40f 100644 --- a/src/test/ui/error-codes/E0194.stderr +++ b/src/test/ui/error-codes/E0194.stderr @@ -9,3 +9,4 @@ error[E0194]: type parameter `T` shadows another type parameter of the same name error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0194" diff --git a/src/test/ui/error-codes/E0195.stderr b/src/test/ui/error-codes/E0195.stderr index 3cce3d0799416..764f302552db6 100644 --- a/src/test/ui/error-codes/E0195.stderr +++ b/src/test/ui/error-codes/E0195.stderr @@ -9,3 +9,4 @@ error[E0195]: lifetime parameters or bounds on method `bar` do not match the tra error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0195" diff --git a/src/test/ui/error-codes/E0197.stderr b/src/test/ui/error-codes/E0197.stderr index 277f523e497aa..f1bb3e70ac3a1 100644 --- a/src/test/ui/error-codes/E0197.stderr +++ b/src/test/ui/error-codes/E0197.stderr @@ -6,3 +6,4 @@ error[E0197]: inherent impls cannot be unsafe error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0197" diff --git a/src/test/ui/error-codes/E0198.stderr b/src/test/ui/error-codes/E0198.stderr index a85419e9a1397..d3b0088905e06 100644 --- a/src/test/ui/error-codes/E0198.stderr +++ b/src/test/ui/error-codes/E0198.stderr @@ -6,3 +6,4 @@ error[E0198]: negative impls cannot be unsafe error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0198" diff --git a/src/test/ui/error-codes/E0199.stderr b/src/test/ui/error-codes/E0199.stderr index efbe066e52e7e..a97b2b90ffebc 100644 --- a/src/test/ui/error-codes/E0199.stderr +++ b/src/test/ui/error-codes/E0199.stderr @@ -6,3 +6,4 @@ error[E0199]: implementing the trait `Bar` is not unsafe error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0199" diff --git a/src/test/ui/error-codes/E0200.stderr b/src/test/ui/error-codes/E0200.stderr index fb71da23677bd..ee70e94953331 100644 --- a/src/test/ui/error-codes/E0200.stderr +++ b/src/test/ui/error-codes/E0200.stderr @@ -6,3 +6,4 @@ error[E0200]: the trait `Bar` requires an `unsafe impl` declaration error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0200" diff --git a/src/test/ui/error-codes/E0201.stderr b/src/test/ui/error-codes/E0201.stderr index 01dbee6e09236..aa17639c13b8c 100644 --- a/src/test/ui/error-codes/E0201.stderr +++ b/src/test/ui/error-codes/E0201.stderr @@ -25,3 +25,4 @@ error[E0201]: duplicate definitions with name `Quux`: error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0201" diff --git a/src/test/ui/error-codes/E0206.stderr b/src/test/ui/error-codes/E0206.stderr index 8eeb94a42f4b8..7874d14fe61a7 100644 --- a/src/test/ui/error-codes/E0206.stderr +++ b/src/test/ui/error-codes/E0206.stderr @@ -21,3 +21,5 @@ error[E0117]: only traits defined in the current crate can be implemented for ar error: aborting due to 3 previous errors +You've got a few errors: E0117, E0206 +If you want more information on an error, try using "rustc --explain E0117" diff --git a/src/test/ui/error-codes/E0207.stderr b/src/test/ui/error-codes/E0207.stderr index 35f9109fe99ed..8cb6b976e1700 100644 --- a/src/test/ui/error-codes/E0207.stderr +++ b/src/test/ui/error-codes/E0207.stderr @@ -6,3 +6,4 @@ error[E0207]: the type parameter `T` is not constrained by the impl trait, self error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0207" diff --git a/src/test/ui/error-codes/E0214.stderr b/src/test/ui/error-codes/E0214.stderr index 30f5b960a364e..afe340cdd8d8e 100644 --- a/src/test/ui/error-codes/E0214.stderr +++ b/src/test/ui/error-codes/E0214.stderr @@ -6,3 +6,4 @@ error[E0214]: parenthesized parameters may only be used with a trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0214" diff --git a/src/test/ui/error-codes/E0220.stderr b/src/test/ui/error-codes/E0220.stderr index 70b017b782f2d..b431d137520ea 100644 --- a/src/test/ui/error-codes/E0220.stderr +++ b/src/test/ui/error-codes/E0220.stderr @@ -12,3 +12,5 @@ error[E0191]: the value of the associated type `Bar` (from the trait `Trait`) mu error: aborting due to 2 previous errors +You've got a few errors: E0191, E0220 +If you want more information on an error, try using "rustc --explain E0191" diff --git a/src/test/ui/error-codes/E0221.stderr b/src/test/ui/error-codes/E0221.stderr index 3dd9393d6b32a..1e9db4c8e7e9b 100644 --- a/src/test/ui/error-codes/E0221.stderr +++ b/src/test/ui/error-codes/E0221.stderr @@ -27,3 +27,4 @@ note: associated type `Self` could derive from `std::str::FromStr` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0221" diff --git a/src/test/ui/error-codes/E0223.stderr b/src/test/ui/error-codes/E0223.stderr index efd0d7806581c..65125791b2b79 100644 --- a/src/test/ui/error-codes/E0223.stderr +++ b/src/test/ui/error-codes/E0223.stderr @@ -8,3 +8,4 @@ error[E0223]: ambiguous associated type error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0223" diff --git a/src/test/ui/error-codes/E0225.stderr b/src/test/ui/error-codes/E0225.stderr index 35d40cb1017d1..f1e8ca92db71d 100644 --- a/src/test/ui/error-codes/E0225.stderr +++ b/src/test/ui/error-codes/E0225.stderr @@ -6,3 +6,4 @@ error[E0225]: only auto traits can be used as additional traits in a trait objec error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0225" diff --git a/src/test/ui/error-codes/E0229.stderr b/src/test/ui/error-codes/E0229.stderr index 6d88ef88bffc3..556adc02fc960 100644 --- a/src/test/ui/error-codes/E0229.stderr +++ b/src/test/ui/error-codes/E0229.stderr @@ -6,3 +6,4 @@ error[E0229]: associated type bindings are not allowed here error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0229" diff --git a/src/test/ui/error-codes/E0232.stderr b/src/test/ui/error-codes/E0232.stderr index e13ba62b073ce..6633b0b592bb1 100644 --- a/src/test/ui/error-codes/E0232.stderr +++ b/src/test/ui/error-codes/E0232.stderr @@ -8,3 +8,4 @@ error[E0232]: `#[rustc_on_unimplemented]` requires a value error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0232" diff --git a/src/test/ui/error-codes/E0243.stderr b/src/test/ui/error-codes/E0243.stderr index 82a90fff34208..c3aa61f106a1d 100644 --- a/src/test/ui/error-codes/E0243.stderr +++ b/src/test/ui/error-codes/E0243.stderr @@ -6,3 +6,4 @@ error[E0243]: wrong number of type arguments: expected 1, found 0 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0243" diff --git a/src/test/ui/error-codes/E0244.stderr b/src/test/ui/error-codes/E0244.stderr index d873fbe9819f8..06dd74e9a67e3 100644 --- a/src/test/ui/error-codes/E0244.stderr +++ b/src/test/ui/error-codes/E0244.stderr @@ -6,3 +6,4 @@ error[E0244]: wrong number of type arguments: expected 0, found 2 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0244" diff --git a/src/test/ui/error-codes/E0252.stderr b/src/test/ui/error-codes/E0252.stderr index f63597d697086..db842bb477366 100644 --- a/src/test/ui/error-codes/E0252.stderr +++ b/src/test/ui/error-codes/E0252.stderr @@ -14,3 +14,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0252" diff --git a/src/test/ui/error-codes/E0253.stderr b/src/test/ui/error-codes/E0253.stderr index e5a311537810d..736e3037a84dd 100644 --- a/src/test/ui/error-codes/E0253.stderr +++ b/src/test/ui/error-codes/E0253.stderr @@ -6,3 +6,4 @@ error[E0253]: `do_something` is not directly importable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0253" diff --git a/src/test/ui/error-codes/E0254.stderr b/src/test/ui/error-codes/E0254.stderr index 4181c7b1f7fb0..bab28d27ec6b2 100644 --- a/src/test/ui/error-codes/E0254.stderr +++ b/src/test/ui/error-codes/E0254.stderr @@ -15,3 +15,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0254" diff --git a/src/test/ui/error-codes/E0255.stderr b/src/test/ui/error-codes/E0255.stderr index 924ac49695c63..56440936035bd 100644 --- a/src/test/ui/error-codes/E0255.stderr +++ b/src/test/ui/error-codes/E0255.stderr @@ -15,3 +15,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0255" diff --git a/src/test/ui/error-codes/E0259.stderr b/src/test/ui/error-codes/E0259.stderr index e05e4e1cac74e..cf1131d38afde 100644 --- a/src/test/ui/error-codes/E0259.stderr +++ b/src/test/ui/error-codes/E0259.stderr @@ -14,3 +14,4 @@ error[E0259]: the name `alloc` is defined multiple times error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0259" diff --git a/src/test/ui/error-codes/E0260.stderr b/src/test/ui/error-codes/E0260.stderr index 3d899e636ee38..3a22329790e9c 100644 --- a/src/test/ui/error-codes/E0260.stderr +++ b/src/test/ui/error-codes/E0260.stderr @@ -15,3 +15,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0260" diff --git a/src/test/ui/error-codes/E0261.stderr b/src/test/ui/error-codes/E0261.stderr index c8dd08211ecb0..34a56ff9e5efd 100644 --- a/src/test/ui/error-codes/E0261.stderr +++ b/src/test/ui/error-codes/E0261.stderr @@ -12,3 +12,4 @@ error[E0261]: use of undeclared lifetime name `'a` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0261" diff --git a/src/test/ui/error-codes/E0262.stderr b/src/test/ui/error-codes/E0262.stderr index 0910009d2c0dc..f40f378d1be7c 100644 --- a/src/test/ui/error-codes/E0262.stderr +++ b/src/test/ui/error-codes/E0262.stderr @@ -6,3 +6,4 @@ error[E0262]: invalid lifetime parameter name: `'static` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0262" diff --git a/src/test/ui/error-codes/E0263.stderr b/src/test/ui/error-codes/E0263.stderr index 942718d50f727..43febfbf236bd 100644 --- a/src/test/ui/error-codes/E0263.stderr +++ b/src/test/ui/error-codes/E0263.stderr @@ -8,3 +8,4 @@ error[E0263]: lifetime name `'a` declared twice in the same scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0263" diff --git a/src/test/ui/error-codes/E0264.stderr b/src/test/ui/error-codes/E0264.stderr index b10494633edf3..c415bfdb865d8 100644 --- a/src/test/ui/error-codes/E0264.stderr +++ b/src/test/ui/error-codes/E0264.stderr @@ -6,3 +6,4 @@ error[E0264]: unknown external lang item: `cake` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0264" diff --git a/src/test/ui/error-codes/E0267.stderr b/src/test/ui/error-codes/E0267.stderr index 2f6d9c72eeb1a..cd35aeee1e6d4 100644 --- a/src/test/ui/error-codes/E0267.stderr +++ b/src/test/ui/error-codes/E0267.stderr @@ -6,3 +6,4 @@ error[E0267]: `break` inside of a closure error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0267" diff --git a/src/test/ui/error-codes/E0268.stderr b/src/test/ui/error-codes/E0268.stderr index cf89e46af047e..52f72e23f3a64 100644 --- a/src/test/ui/error-codes/E0268.stderr +++ b/src/test/ui/error-codes/E0268.stderr @@ -6,3 +6,4 @@ error[E0268]: `break` outside of loop error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0268" diff --git a/src/test/ui/error-codes/E0271.stderr b/src/test/ui/error-codes/E0271.stderr index c596b560ea7f8..a8222549b6434 100644 --- a/src/test/ui/error-codes/E0271.stderr +++ b/src/test/ui/error-codes/E0271.stderr @@ -14,3 +14,4 @@ note: required by `foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0271" diff --git a/src/test/ui/error-codes/E0275.stderr b/src/test/ui/error-codes/E0275.stderr index 2dbe5be215546..a9d37a7049cf8 100644 --- a/src/test/ui/error-codes/E0275.stderr +++ b/src/test/ui/error-codes/E0275.stderr @@ -77,3 +77,4 @@ note: required by `Foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0275" diff --git a/src/test/ui/error-codes/E0276.stderr b/src/test/ui/error-codes/E0276.stderr index bcbe81ac11a05..88f229a318834 100644 --- a/src/test/ui/error-codes/E0276.stderr +++ b/src/test/ui/error-codes/E0276.stderr @@ -9,3 +9,4 @@ error[E0276]: impl has stricter requirements than trait error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0276" diff --git a/src/test/ui/error-codes/E0277-2.stderr b/src/test/ui/error-codes/E0277-2.stderr index 6a0f21ef14438..f44a65befbe46 100644 --- a/src/test/ui/error-codes/E0277-2.stderr +++ b/src/test/ui/error-codes/E0277-2.stderr @@ -16,3 +16,4 @@ note: required by `is_send` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/error-codes/E0277.stderr b/src/test/ui/error-codes/E0277.stderr index 38d14ed7bce25..2e43add36b2bd 100644 --- a/src/test/ui/error-codes/E0277.stderr +++ b/src/test/ui/error-codes/E0277.stderr @@ -22,3 +22,4 @@ note: required by `some_func` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/error-codes/E0282.stderr b/src/test/ui/error-codes/E0282.stderr index 835162740da90..2a5a31822ee0f 100644 --- a/src/test/ui/error-codes/E0282.stderr +++ b/src/test/ui/error-codes/E0282.stderr @@ -9,3 +9,4 @@ error[E0282]: type annotations needed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0282" diff --git a/src/test/ui/error-codes/E0283.stderr b/src/test/ui/error-codes/E0283.stderr index 9fdb6b178c4d7..2eb2fb06260ce 100644 --- a/src/test/ui/error-codes/E0283.stderr +++ b/src/test/ui/error-codes/E0283.stderr @@ -12,3 +12,4 @@ note: required by `Generator::create` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0283" diff --git a/src/test/ui/error-codes/E0296.stderr b/src/test/ui/error-codes/E0296.stderr index f6a2adc0ad3f7..9dc54f670f6b4 100644 --- a/src/test/ui/error-codes/E0296.stderr +++ b/src/test/ui/error-codes/E0296.stderr @@ -6,3 +6,4 @@ error[E0296]: malformed recursion limit attribute, expected #![recursion_limit=" error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0296" diff --git a/src/test/ui/error-codes/E0297.stderr b/src/test/ui/error-codes/E0297.stderr index 2dfed66ecaca6..8d2489a10fa8c 100644 --- a/src/test/ui/error-codes/E0297.stderr +++ b/src/test/ui/error-codes/E0297.stderr @@ -6,3 +6,4 @@ error[E0005]: refutable pattern in `for` loop binding: `None` not covered error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0005" diff --git a/src/test/ui/error-codes/E0301.stderr b/src/test/ui/error-codes/E0301.stderr index ff4ee32d47b09..9b294b055afb4 100644 --- a/src/test/ui/error-codes/E0301.stderr +++ b/src/test/ui/error-codes/E0301.stderr @@ -6,3 +6,4 @@ error[E0301]: cannot mutably borrow in a pattern guard error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0301" diff --git a/src/test/ui/error-codes/E0302.stderr b/src/test/ui/error-codes/E0302.stderr index c7b33a490d1c9..1a1641c0f878f 100644 --- a/src/test/ui/error-codes/E0302.stderr +++ b/src/test/ui/error-codes/E0302.stderr @@ -6,3 +6,4 @@ error[E0302]: cannot assign in a pattern guard error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0302" diff --git a/src/test/ui/error-codes/E0303.stderr b/src/test/ui/error-codes/E0303.stderr index 6528c97a560df..8a51a087b681a 100644 --- a/src/test/ui/error-codes/E0303.stderr +++ b/src/test/ui/error-codes/E0303.stderr @@ -15,3 +15,5 @@ error[E0303]: pattern bindings are not allowed after an `@` error: aborting due to 2 previous errors +You've got a few errors: E0009, E0303 +If you want more information on an error, try using "rustc --explain E0009" diff --git a/src/test/ui/error-codes/E0308-4.stderr b/src/test/ui/error-codes/E0308-4.stderr index 1e4beeae17691..a7b40c541844b 100644 --- a/src/test/ui/error-codes/E0308-4.stderr +++ b/src/test/ui/error-codes/E0308-4.stderr @@ -6,3 +6,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/error-codes/E0308.stderr b/src/test/ui/error-codes/E0308.stderr index 905b0210abfbf..b137b84092415 100644 --- a/src/test/ui/error-codes/E0308.stderr +++ b/src/test/ui/error-codes/E0308.stderr @@ -9,3 +9,4 @@ error[E0308]: intrinsic has wrong type error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/error-codes/E0365.stderr b/src/test/ui/error-codes/E0365.stderr index ccb13856df9e1..52830fc150fea 100644 --- a/src/test/ui/error-codes/E0365.stderr +++ b/src/test/ui/error-codes/E0365.stderr @@ -8,3 +8,4 @@ error[E0365]: `foo` is private, and cannot be re-exported error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0365" diff --git a/src/test/ui/error-codes/E0370.stderr b/src/test/ui/error-codes/E0370.stderr index 1f248f4ed2c21..5f96293e21424 100644 --- a/src/test/ui/error-codes/E0370.stderr +++ b/src/test/ui/error-codes/E0370.stderr @@ -8,3 +8,4 @@ error[E0370]: enum discriminant overflowed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0370" diff --git a/src/test/ui/error-codes/E0374.stderr b/src/test/ui/error-codes/E0374.stderr index edd463d705c19..4d7c53adfac83 100644 --- a/src/test/ui/error-codes/E0374.stderr +++ b/src/test/ui/error-codes/E0374.stderr @@ -7,3 +7,4 @@ error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion b error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0374" diff --git a/src/test/ui/error-codes/E0375.stderr b/src/test/ui/error-codes/E0375.stderr index a37591521c8ca..123ad197d9336 100644 --- a/src/test/ui/error-codes/E0375.stderr +++ b/src/test/ui/error-codes/E0375.stderr @@ -9,3 +9,4 @@ error[E0375]: implementing the trait `CoerceUnsized` requires multiple coercions error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0375" diff --git a/src/test/ui/error-codes/E0376.stderr b/src/test/ui/error-codes/E0376.stderr index d036adb4e2950..4b73b4aee519f 100644 --- a/src/test/ui/error-codes/E0376.stderr +++ b/src/test/ui/error-codes/E0376.stderr @@ -6,3 +6,4 @@ error[E0376]: the trait `CoerceUnsized` may only be implemented for a coercion b error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0376" diff --git a/src/test/ui/error-codes/E0388.stderr b/src/test/ui/error-codes/E0388.stderr index ec210294cdbd4..de32010b96a15 100644 --- a/src/test/ui/error-codes/E0388.stderr +++ b/src/test/ui/error-codes/E0388.stderr @@ -24,3 +24,5 @@ error[E0017]: references in statics may only refer to immutable values error: aborting due to 4 previous errors +You've got a few errors: E0017, E0596 +If you want more information on an error, try using "rustc --explain E0017" diff --git a/src/test/ui/error-codes/E0389.stderr b/src/test/ui/error-codes/E0389.stderr index e085329bac508..0a9e63a7223fa 100644 --- a/src/test/ui/error-codes/E0389.stderr +++ b/src/test/ui/error-codes/E0389.stderr @@ -6,3 +6,4 @@ error[E0389]: cannot assign to data in a `&` reference error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0389" diff --git a/src/test/ui/error-codes/E0390.stderr b/src/test/ui/error-codes/E0390.stderr index a10b0b87f37bd..2d2b5d64bda2d 100644 --- a/src/test/ui/error-codes/E0390.stderr +++ b/src/test/ui/error-codes/E0390.stderr @@ -12,3 +12,4 @@ help: consider using a trait to implement these methods error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0390" diff --git a/src/test/ui/error-codes/E0392.stderr b/src/test/ui/error-codes/E0392.stderr index 6c466cbb52e38..c291bfc5ac73e 100644 --- a/src/test/ui/error-codes/E0392.stderr +++ b/src/test/ui/error-codes/E0392.stderr @@ -8,3 +8,4 @@ error[E0392]: parameter `T` is never used error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0392" diff --git a/src/test/ui/error-codes/E0393.stderr b/src/test/ui/error-codes/E0393.stderr index 10728e21901cd..33aa79f1d34ed 100644 --- a/src/test/ui/error-codes/E0393.stderr +++ b/src/test/ui/error-codes/E0393.stderr @@ -8,3 +8,4 @@ error[E0393]: the type parameter `T` must be explicitly specified error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0393" diff --git a/src/test/ui/error-codes/E0394.stderr b/src/test/ui/error-codes/E0394.stderr index 728cec1032558..3fec25ac3d6c5 100644 --- a/src/test/ui/error-codes/E0394.stderr +++ b/src/test/ui/error-codes/E0394.stderr @@ -8,3 +8,4 @@ error[E0394]: cannot refer to other statics by value, use the address-of operato error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0394" diff --git a/src/test/ui/error-codes/E0395.stderr b/src/test/ui/error-codes/E0395.stderr index e6d76a696d3cf..41d47397caf97 100644 --- a/src/test/ui/error-codes/E0395.stderr +++ b/src/test/ui/error-codes/E0395.stderr @@ -6,3 +6,4 @@ error[E0395]: raw pointers cannot be compared in statics error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0395" diff --git a/src/test/ui/error-codes/E0396.stderr b/src/test/ui/error-codes/E0396.stderr index 5c5c01cb98854..a2b73d5789c24 100644 --- a/src/test/ui/error-codes/E0396.stderr +++ b/src/test/ui/error-codes/E0396.stderr @@ -6,3 +6,4 @@ error[E0396]: raw pointers cannot be dereferenced in constants error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0396" diff --git a/src/test/ui/error-codes/E0401.stderr b/src/test/ui/error-codes/E0401.stderr index d63aa378eee7d..a69da16477fee 100644 --- a/src/test/ui/error-codes/E0401.stderr +++ b/src/test/ui/error-codes/E0401.stderr @@ -6,3 +6,4 @@ error[E0401]: can't use type parameters from outer function; try using a local t error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0401" diff --git a/src/test/ui/error-codes/E0403.stderr b/src/test/ui/error-codes/E0403.stderr index 125af35cb5798..2589be7077798 100644 --- a/src/test/ui/error-codes/E0403.stderr +++ b/src/test/ui/error-codes/E0403.stderr @@ -8,3 +8,4 @@ error[E0403]: the name `T` is already used for a type parameter in this type par error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0403" diff --git a/src/test/ui/error-codes/E0404.stderr b/src/test/ui/error-codes/E0404.stderr index c30d8c00b80e2..75e36157b9837 100644 --- a/src/test/ui/error-codes/E0404.stderr +++ b/src/test/ui/error-codes/E0404.stderr @@ -6,3 +6,4 @@ error[E0404]: expected trait, found struct `Foo` error: cannot continue compilation due to previous error +If you want more information on this error, try using "rustc --explain E0404" diff --git a/src/test/ui/error-codes/E0405.stderr b/src/test/ui/error-codes/E0405.stderr index 29bab3f6dd99a..269b03179e074 100644 --- a/src/test/ui/error-codes/E0405.stderr +++ b/src/test/ui/error-codes/E0405.stderr @@ -6,3 +6,4 @@ error[E0405]: cannot find trait `SomeTrait` in this scope error: cannot continue compilation due to previous error +If you want more information on this error, try using "rustc --explain E0405" diff --git a/src/test/ui/error-codes/E0407.stderr b/src/test/ui/error-codes/E0407.stderr index f71437cd6b07c..28486c92bf52a 100644 --- a/src/test/ui/error-codes/E0407.stderr +++ b/src/test/ui/error-codes/E0407.stderr @@ -6,3 +6,4 @@ error[E0407]: method `b` is not a member of trait `Foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0407" diff --git a/src/test/ui/error-codes/E0408.stderr b/src/test/ui/error-codes/E0408.stderr index 1c66bb0e5f07b..4280947c574a8 100644 --- a/src/test/ui/error-codes/E0408.stderr +++ b/src/test/ui/error-codes/E0408.stderr @@ -8,3 +8,4 @@ error[E0408]: variable `y` is not bound in all patterns error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0408" diff --git a/src/test/ui/error-codes/E0411.stderr b/src/test/ui/error-codes/E0411.stderr index dda922b5b6891..b2727806655c8 100644 --- a/src/test/ui/error-codes/E0411.stderr +++ b/src/test/ui/error-codes/E0411.stderr @@ -6,3 +6,4 @@ error[E0411]: cannot find type `Self` in this scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0411" diff --git a/src/test/ui/error-codes/E0412.stderr b/src/test/ui/error-codes/E0412.stderr index 6ee2125af04e8..daeef5bdfce0e 100644 --- a/src/test/ui/error-codes/E0412.stderr +++ b/src/test/ui/error-codes/E0412.stderr @@ -6,3 +6,4 @@ error[E0412]: cannot find type `Something` in this scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0412" diff --git a/src/test/ui/error-codes/E0415.stderr b/src/test/ui/error-codes/E0415.stderr index 5e5cfe16e5038..9ae1700727a25 100644 --- a/src/test/ui/error-codes/E0415.stderr +++ b/src/test/ui/error-codes/E0415.stderr @@ -6,3 +6,4 @@ error[E0415]: identifier `f` is bound more than once in this parameter list error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0415" diff --git a/src/test/ui/error-codes/E0416.stderr b/src/test/ui/error-codes/E0416.stderr index a48a3ade5c9a4..b86cc8d672927 100644 --- a/src/test/ui/error-codes/E0416.stderr +++ b/src/test/ui/error-codes/E0416.stderr @@ -6,3 +6,4 @@ error[E0416]: identifier `x` is bound more than once in the same pattern error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0416" diff --git a/src/test/ui/error-codes/E0423.stderr b/src/test/ui/error-codes/E0423.stderr index aee398efeddee..7bc9bc2b43bb8 100644 --- a/src/test/ui/error-codes/E0423.stderr +++ b/src/test/ui/error-codes/E0423.stderr @@ -6,3 +6,4 @@ error[E0423]: expected function, found struct `Foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0423" diff --git a/src/test/ui/error-codes/E0424.stderr b/src/test/ui/error-codes/E0424.stderr index d1fd432f4f032..f778af9f41108 100644 --- a/src/test/ui/error-codes/E0424.stderr +++ b/src/test/ui/error-codes/E0424.stderr @@ -6,3 +6,4 @@ error[E0424]: expected value, found module `self` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0424" diff --git a/src/test/ui/error-codes/E0425.stderr b/src/test/ui/error-codes/E0425.stderr index 250ecaeb368ee..d836b9ddfda71 100644 --- a/src/test/ui/error-codes/E0425.stderr +++ b/src/test/ui/error-codes/E0425.stderr @@ -6,3 +6,4 @@ error[E0425]: cannot find value `elf` in this scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0425" diff --git a/src/test/ui/error-codes/E0426.stderr b/src/test/ui/error-codes/E0426.stderr index bb05effd732cd..088a6db16aca4 100644 --- a/src/test/ui/error-codes/E0426.stderr +++ b/src/test/ui/error-codes/E0426.stderr @@ -6,3 +6,4 @@ error[E0426]: use of undeclared label `'a` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0426" diff --git a/src/test/ui/error-codes/E0428.stderr b/src/test/ui/error-codes/E0428.stderr index c739536c0ab55..1e9072e65dbc0 100644 --- a/src/test/ui/error-codes/E0428.stderr +++ b/src/test/ui/error-codes/E0428.stderr @@ -10,3 +10,4 @@ error[E0428]: the name `Bar` is defined multiple times error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0428" diff --git a/src/test/ui/error-codes/E0429.stderr b/src/test/ui/error-codes/E0429.stderr index 96cf50500fdb4..b5a78e6d3520c 100644 --- a/src/test/ui/error-codes/E0429.stderr +++ b/src/test/ui/error-codes/E0429.stderr @@ -6,3 +6,4 @@ error[E0429]: `self` imports are only allowed within a { } list error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0429" diff --git a/src/test/ui/error-codes/E0430.stderr b/src/test/ui/error-codes/E0430.stderr index b5c80aa23f62d..0bc6ffb6bf943 100644 --- a/src/test/ui/error-codes/E0430.stderr +++ b/src/test/ui/error-codes/E0430.stderr @@ -22,3 +22,5 @@ help: You can use `as` to change the binding name of the import error: aborting due to 2 previous errors +You've got a few errors: E0252, E0430 +If you want more information on an error, try using "rustc --explain E0252" diff --git a/src/test/ui/error-codes/E0431.stderr b/src/test/ui/error-codes/E0431.stderr index c7a786b7402d2..29fbaf2a677d9 100644 --- a/src/test/ui/error-codes/E0431.stderr +++ b/src/test/ui/error-codes/E0431.stderr @@ -6,3 +6,4 @@ error[E0431]: `self` import can only appear in an import list with a non-empty p error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0431" diff --git a/src/test/ui/error-codes/E0432.stderr b/src/test/ui/error-codes/E0432.stderr index 6d808f038a333..4b47ceb3aa679 100644 --- a/src/test/ui/error-codes/E0432.stderr +++ b/src/test/ui/error-codes/E0432.stderr @@ -6,3 +6,4 @@ error[E0432]: unresolved import `something` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0432" diff --git a/src/test/ui/error-codes/E0433.stderr b/src/test/ui/error-codes/E0433.stderr index 691c5922f8fbc..46cc308992dce 100644 --- a/src/test/ui/error-codes/E0433.stderr +++ b/src/test/ui/error-codes/E0433.stderr @@ -6,3 +6,4 @@ error[E0433]: failed to resolve. Use of undeclared type or module `HashMap` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0433" diff --git a/src/test/ui/error-codes/E0434.stderr b/src/test/ui/error-codes/E0434.stderr index 06880acdb3573..3963b4ec695f1 100644 --- a/src/test/ui/error-codes/E0434.stderr +++ b/src/test/ui/error-codes/E0434.stderr @@ -8,3 +8,4 @@ error[E0434]: can't capture dynamic environment in a fn item error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0434" diff --git a/src/test/ui/error-codes/E0435.stderr b/src/test/ui/error-codes/E0435.stderr index 855903b7ec35e..e3468ca409ed4 100644 --- a/src/test/ui/error-codes/E0435.stderr +++ b/src/test/ui/error-codes/E0435.stderr @@ -6,3 +6,4 @@ error[E0435]: attempt to use a non-constant value in a constant error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0435" diff --git a/src/test/ui/error-codes/E0437.stderr b/src/test/ui/error-codes/E0437.stderr index ffad571d06125..7cb07e984701d 100644 --- a/src/test/ui/error-codes/E0437.stderr +++ b/src/test/ui/error-codes/E0437.stderr @@ -6,3 +6,4 @@ error[E0437]: type `Bar` is not a member of trait `Foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0437" diff --git a/src/test/ui/error-codes/E0438.stderr b/src/test/ui/error-codes/E0438.stderr index df587395356f1..ecea63eb86f84 100644 --- a/src/test/ui/error-codes/E0438.stderr +++ b/src/test/ui/error-codes/E0438.stderr @@ -6,3 +6,4 @@ error[E0438]: const `BAR` is not a member of trait `Bar` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0438" diff --git a/src/test/ui/error-codes/E0439.stderr b/src/test/ui/error-codes/E0439.stderr index 77930d5e08d94..418a8b67005a8 100644 --- a/src/test/ui/error-codes/E0439.stderr +++ b/src/test/ui/error-codes/E0439.stderr @@ -6,3 +6,4 @@ error[E0439]: invalid `simd_shuffle`, needs length: `simd_shuffle` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0439" diff --git a/src/test/ui/error-codes/E0440.stderr b/src/test/ui/error-codes/E0440.stderr index 83210a996e0e1..32eef81cf5982 100644 --- a/src/test/ui/error-codes/E0440.stderr +++ b/src/test/ui/error-codes/E0440.stderr @@ -6,3 +6,4 @@ error[E0440]: platform-specific intrinsic has wrong number of type parameters: f error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0440" diff --git a/src/test/ui/error-codes/E0441.stderr b/src/test/ui/error-codes/E0441.stderr index 34a387e64597a..d8bcc3d1396e1 100644 --- a/src/test/ui/error-codes/E0441.stderr +++ b/src/test/ui/error-codes/E0441.stderr @@ -6,3 +6,4 @@ error[E0441]: unrecognized platform-specific intrinsic function: `x86_mm_adds_ep error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0441" diff --git a/src/test/ui/error-codes/E0442.stderr b/src/test/ui/error-codes/E0442.stderr index 6f19fd17eb2df..86cfb607c2e8e 100644 --- a/src/test/ui/error-codes/E0442.stderr +++ b/src/test/ui/error-codes/E0442.stderr @@ -18,3 +18,4 @@ error[E0442]: intrinsic return value has wrong type: found vector with length 2, error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0442" diff --git a/src/test/ui/error-codes/E0443.stderr b/src/test/ui/error-codes/E0443.stderr index ebf8ef5ccf102..b929ff049d042 100644 --- a/src/test/ui/error-codes/E0443.stderr +++ b/src/test/ui/error-codes/E0443.stderr @@ -6,3 +6,4 @@ error[E0443]: intrinsic return value has wrong type: found `i64x8`, expected `i1 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0443" diff --git a/src/test/ui/error-codes/E0444.stderr b/src/test/ui/error-codes/E0444.stderr index e44d9457045c4..f1d3064c0deec 100644 --- a/src/test/ui/error-codes/E0444.stderr +++ b/src/test/ui/error-codes/E0444.stderr @@ -6,3 +6,4 @@ error[E0444]: platform-specific intrinsic has invalid number of arguments: found error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0444" diff --git a/src/test/ui/error-codes/E0445.stderr b/src/test/ui/error-codes/E0445.stderr index 7b599543e00c6..c7f59695e0cfb 100644 --- a/src/test/ui/error-codes/E0445.stderr +++ b/src/test/ui/error-codes/E0445.stderr @@ -18,3 +18,4 @@ error[E0445]: private trait `Foo` in public interface error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0445" diff --git a/src/test/ui/error-codes/E0446.stderr b/src/test/ui/error-codes/E0446.stderr index 1b61ca9b1773b..ceb949f884c18 100644 --- a/src/test/ui/error-codes/E0446.stderr +++ b/src/test/ui/error-codes/E0446.stderr @@ -8,3 +8,4 @@ error[E0446]: private type `Foo::Bar` in public interface error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0446" diff --git a/src/test/ui/error-codes/E0449.stderr b/src/test/ui/error-codes/E0449.stderr index 3587319ed0cbc..4ec7178ba6ca5 100644 --- a/src/test/ui/error-codes/E0449.stderr +++ b/src/test/ui/error-codes/E0449.stderr @@ -20,3 +20,4 @@ error[E0449]: unnecessary visibility qualifier error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0449" diff --git a/src/test/ui/error-codes/E0451.stderr b/src/test/ui/error-codes/E0451.stderr index 0c29bee849b3b..a1c4929fce7de 100644 --- a/src/test/ui/error-codes/E0451.stderr +++ b/src/test/ui/error-codes/E0451.stderr @@ -12,3 +12,4 @@ error[E0451]: field `b` of struct `Bar::Foo` is private error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0451" diff --git a/src/test/ui/error-codes/E0452.stderr b/src/test/ui/error-codes/E0452.stderr index d63d0edc2c60c..36c6052abb190 100644 --- a/src/test/ui/error-codes/E0452.stderr +++ b/src/test/ui/error-codes/E0452.stderr @@ -6,3 +6,4 @@ error[E0452]: malformed lint attribute error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0452" diff --git a/src/test/ui/error-codes/E0453.stderr b/src/test/ui/error-codes/E0453.stderr index 467784f336745..affad8a5861a8 100644 --- a/src/test/ui/error-codes/E0453.stderr +++ b/src/test/ui/error-codes/E0453.stderr @@ -9,3 +9,4 @@ error[E0453]: allow(non_snake_case) overruled by outer forbid(non_snake_case) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0453" diff --git a/src/test/ui/error-codes/E0454.stderr b/src/test/ui/error-codes/E0454.stderr index aee8b53e39dd5..e127a54dc1034 100644 --- a/src/test/ui/error-codes/E0454.stderr +++ b/src/test/ui/error-codes/E0454.stderr @@ -6,3 +6,4 @@ error[E0454]: #[link(name = "")] given with empty name error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0454" diff --git a/src/test/ui/error-codes/E0458.stderr b/src/test/ui/error-codes/E0458.stderr index 9cdd0d5f3003a..2ecc7772598f6 100644 --- a/src/test/ui/error-codes/E0458.stderr +++ b/src/test/ui/error-codes/E0458.stderr @@ -12,3 +12,5 @@ error[E0459]: #[link(...)] specified without `name = "foo"` error: aborting due to 2 previous errors +You've got a few errors: E0458, E0459 +If you want more information on an error, try using "rustc --explain E0458" diff --git a/src/test/ui/error-codes/E0459.stderr b/src/test/ui/error-codes/E0459.stderr index 512788e1948a7..b6d5f8983b307 100644 --- a/src/test/ui/error-codes/E0459.stderr +++ b/src/test/ui/error-codes/E0459.stderr @@ -6,3 +6,4 @@ error[E0459]: #[link(...)] specified without `name = "foo"` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0459" diff --git a/src/test/ui/error-codes/E0463.stderr b/src/test/ui/error-codes/E0463.stderr index 208c00cc7c977..830d48e57f78a 100644 --- a/src/test/ui/error-codes/E0463.stderr +++ b/src/test/ui/error-codes/E0463.stderr @@ -6,3 +6,4 @@ error[E0463]: can't find crate for `cookie_monster` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0463" diff --git a/src/test/ui/error-codes/E0478.stderr b/src/test/ui/error-codes/E0478.stderr index f909fa48c2769..53d3e5c013808 100644 --- a/src/test/ui/error-codes/E0478.stderr +++ b/src/test/ui/error-codes/E0478.stderr @@ -17,3 +17,4 @@ note: but lifetime parameter must outlive the lifetime 'kiss as defined on the s error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0478" diff --git a/src/test/ui/error-codes/E0492.stderr b/src/test/ui/error-codes/E0492.stderr index c19896623128f..e08878a9e8d1c 100644 --- a/src/test/ui/error-codes/E0492.stderr +++ b/src/test/ui/error-codes/E0492.stderr @@ -6,3 +6,4 @@ error[E0492]: cannot borrow a constant which may contain interior mutability, cr error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0492" diff --git a/src/test/ui/error-codes/E0494.stderr b/src/test/ui/error-codes/E0494.stderr index 1d5ded5bd9aa1..e0dda17cea0fb 100644 --- a/src/test/ui/error-codes/E0494.stderr +++ b/src/test/ui/error-codes/E0494.stderr @@ -6,3 +6,4 @@ error[E0494]: cannot refer to the interior of another static, use a constant ins error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0494" diff --git a/src/test/ui/error-codes/E0496.stderr b/src/test/ui/error-codes/E0496.stderr index ab9a08a534897..c68e8810f5669 100644 --- a/src/test/ui/error-codes/E0496.stderr +++ b/src/test/ui/error-codes/E0496.stderr @@ -8,3 +8,4 @@ error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scop error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0496" diff --git a/src/test/ui/error-codes/E0499.stderr b/src/test/ui/error-codes/E0499.stderr index c3057d9b558d7..7bb752be4325b 100644 --- a/src/test/ui/error-codes/E0499.stderr +++ b/src/test/ui/error-codes/E0499.stderr @@ -10,3 +10,4 @@ error[E0499]: cannot borrow `i` as mutable more than once at a time error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0499" diff --git a/src/test/ui/error-codes/E0502.stderr b/src/test/ui/error-codes/E0502.stderr index e578cffe56463..ae96fa38f6408 100644 --- a/src/test/ui/error-codes/E0502.stderr +++ b/src/test/ui/error-codes/E0502.stderr @@ -10,3 +10,4 @@ error[E0502]: cannot borrow `*a` as mutable because `a` is also borrowed as immu error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0502" diff --git a/src/test/ui/error-codes/E0503.stderr b/src/test/ui/error-codes/E0503.stderr index 112e2c477802e..23a1e13b4a5f6 100644 --- a/src/test/ui/error-codes/E0503.stderr +++ b/src/test/ui/error-codes/E0503.stderr @@ -8,3 +8,4 @@ error[E0503]: cannot use `value` because it was mutably borrowed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0503" diff --git a/src/test/ui/error-codes/E0504.stderr b/src/test/ui/error-codes/E0504.stderr index 0f1b183dba92f..4003c8ed4ddeb 100644 --- a/src/test/ui/error-codes/E0504.stderr +++ b/src/test/ui/error-codes/E0504.stderr @@ -9,3 +9,4 @@ error[E0504]: cannot move `fancy_num` into closure because it is borrowed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0504" diff --git a/src/test/ui/error-codes/E0505.stderr b/src/test/ui/error-codes/E0505.stderr index dfb327d48eaa5..d2db97835b887 100644 --- a/src/test/ui/error-codes/E0505.stderr +++ b/src/test/ui/error-codes/E0505.stderr @@ -8,3 +8,4 @@ error[E0505]: cannot move out of `x` because it is borrowed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0505" diff --git a/src/test/ui/error-codes/E0507.stderr b/src/test/ui/error-codes/E0507.stderr index 407ebb8fc7be5..59345a2370361 100644 --- a/src/test/ui/error-codes/E0507.stderr +++ b/src/test/ui/error-codes/E0507.stderr @@ -6,3 +6,4 @@ error[E0507]: cannot move out of borrowed content error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0507" diff --git a/src/test/ui/error-codes/E0509.stderr b/src/test/ui/error-codes/E0509.stderr index 6da0fdbeb34e1..8e0638697c684 100644 --- a/src/test/ui/error-codes/E0509.stderr +++ b/src/test/ui/error-codes/E0509.stderr @@ -9,3 +9,4 @@ error[E0509]: cannot move out of type `DropStruct`, which implements the `Drop` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0509" diff --git a/src/test/ui/error-codes/E0511.stderr b/src/test/ui/error-codes/E0511.stderr index b714350393b6a..a926535c93807 100644 --- a/src/test/ui/error-codes/E0511.stderr +++ b/src/test/ui/error-codes/E0511.stderr @@ -6,3 +6,4 @@ error[E0511]: invalid monomorphization of `simd_add` intrinsic: expected SIMD in error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0511" diff --git a/src/test/ui/error-codes/E0512.stderr b/src/test/ui/error-codes/E0512.stderr index ad25bb216a390..ca2845d6e550d 100644 --- a/src/test/ui/error-codes/E0512.stderr +++ b/src/test/ui/error-codes/E0512.stderr @@ -9,3 +9,4 @@ error[E0512]: transmute called with types of different sizes error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0512" diff --git a/src/test/ui/error-codes/E0516.stderr b/src/test/ui/error-codes/E0516.stderr index 620929653f665..3417ac19ab062 100644 --- a/src/test/ui/error-codes/E0516.stderr +++ b/src/test/ui/error-codes/E0516.stderr @@ -6,3 +6,4 @@ error[E0516]: `typeof` is a reserved keyword but unimplemented error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0516" diff --git a/src/test/ui/error-codes/E0517.stderr b/src/test/ui/error-codes/E0517.stderr index 968c47fa7a26f..8dc45703fe91e 100644 --- a/src/test/ui/error-codes/E0517.stderr +++ b/src/test/ui/error-codes/E0517.stderr @@ -33,3 +33,4 @@ error[E0517]: attribute should be applied to struct, enum or union error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0517" diff --git a/src/test/ui/error-codes/E0518.stderr b/src/test/ui/error-codes/E0518.stderr index 99a4a63cc9f2e..3120b6a8bfb4c 100644 --- a/src/test/ui/error-codes/E0518.stderr +++ b/src/test/ui/error-codes/E0518.stderr @@ -17,3 +17,4 @@ error[E0518]: attribute should be applied to function error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0518" diff --git a/src/test/ui/error-codes/E0520.stderr b/src/test/ui/error-codes/E0520.stderr index 272c38859ab0a..9d9e86ac6fc0e 100644 --- a/src/test/ui/error-codes/E0520.stderr +++ b/src/test/ui/error-codes/E0520.stderr @@ -13,3 +13,4 @@ error[E0520]: `fly` specializes an item from a parent `impl`, but that item is n error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0520" diff --git a/src/test/ui/error-codes/E0522.stderr b/src/test/ui/error-codes/E0522.stderr index 819fab0088f55..3c3527c7ef74b 100644 --- a/src/test/ui/error-codes/E0522.stderr +++ b/src/test/ui/error-codes/E0522.stderr @@ -8,3 +8,5 @@ error[E0522]: definition of an unknown language item: `cookie` error: aborting due to 2 previous errors +You've got a few errors: E0522, E0601 +If you want more information on an error, try using "rustc --explain E0522" diff --git a/src/test/ui/error-codes/E0527.stderr b/src/test/ui/error-codes/E0527.stderr index 7cd705e6d0b9d..2041ed2282a89 100644 --- a/src/test/ui/error-codes/E0527.stderr +++ b/src/test/ui/error-codes/E0527.stderr @@ -6,3 +6,4 @@ error[E0527]: pattern requires 2 elements but array has 4 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0527" diff --git a/src/test/ui/error-codes/E0528.stderr b/src/test/ui/error-codes/E0528.stderr index ff75b07ced602..1b353efd3a928 100644 --- a/src/test/ui/error-codes/E0528.stderr +++ b/src/test/ui/error-codes/E0528.stderr @@ -6,3 +6,4 @@ error[E0528]: pattern requires at least 3 elements but array has 2 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0528" diff --git a/src/test/ui/error-codes/E0529.stderr b/src/test/ui/error-codes/E0529.stderr index be9039be2b668..bb49f9d6451d2 100644 --- a/src/test/ui/error-codes/E0529.stderr +++ b/src/test/ui/error-codes/E0529.stderr @@ -6,3 +6,4 @@ error[E0529]: expected an array or slice, found `f32` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0529" diff --git a/src/test/ui/error-codes/E0530.stderr b/src/test/ui/error-codes/E0530.stderr index 7c0306cc772fa..4e92db34b040b 100644 --- a/src/test/ui/error-codes/E0530.stderr +++ b/src/test/ui/error-codes/E0530.stderr @@ -9,3 +9,4 @@ error[E0530]: match bindings cannot shadow statics error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0530" diff --git a/src/test/ui/error-codes/E0532.stderr b/src/test/ui/error-codes/E0532.stderr index 4eb91ce35d44a..48d7cd5d545c8 100644 --- a/src/test/ui/error-codes/E0532.stderr +++ b/src/test/ui/error-codes/E0532.stderr @@ -6,3 +6,4 @@ error[E0532]: expected tuple struct/variant, found constant `StructConst1` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0532" diff --git a/src/test/ui/error-codes/E0534.stderr b/src/test/ui/error-codes/E0534.stderr index fe7a5483e59df..58b183cd98da5 100644 --- a/src/test/ui/error-codes/E0534.stderr +++ b/src/test/ui/error-codes/E0534.stderr @@ -6,3 +6,4 @@ error[E0534]: expected one argument error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0534" diff --git a/src/test/ui/error-codes/E0558.stderr b/src/test/ui/error-codes/E0558.stderr index c116201794d47..5a4219a5b7d00 100644 --- a/src/test/ui/error-codes/E0558.stderr +++ b/src/test/ui/error-codes/E0558.stderr @@ -6,3 +6,4 @@ error[E0558]: export_name attribute has invalid format error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0558" diff --git a/src/test/ui/error-codes/E0559.stderr b/src/test/ui/error-codes/E0559.stderr index 5d145a9518095..bb71698e77670 100644 --- a/src/test/ui/error-codes/E0559.stderr +++ b/src/test/ui/error-codes/E0559.stderr @@ -8,3 +8,4 @@ error[E0559]: variant `Field::Fool` has no field named `joke` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0559" diff --git a/src/test/ui/error-codes/E0560.stderr b/src/test/ui/error-codes/E0560.stderr index a0185aa8af64b..587febf8ede26 100644 --- a/src/test/ui/error-codes/E0560.stderr +++ b/src/test/ui/error-codes/E0560.stderr @@ -8,3 +8,4 @@ error[E0560]: struct `Simba` has no field named `father` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0560" diff --git a/src/test/ui/error-codes/E0565-1.stderr b/src/test/ui/error-codes/E0565-1.stderr index 65b917ad4bd32..9491f5ac7e3da 100644 --- a/src/test/ui/error-codes/E0565-1.stderr +++ b/src/test/ui/error-codes/E0565-1.stderr @@ -6,3 +6,4 @@ error[E0565]: unsupported literal error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0565" diff --git a/src/test/ui/error-codes/E0565.stderr b/src/test/ui/error-codes/E0565.stderr index 0041b7689a671..757c3fcdd7a0c 100644 --- a/src/test/ui/error-codes/E0565.stderr +++ b/src/test/ui/error-codes/E0565.stderr @@ -6,3 +6,4 @@ error[E0565]: unsupported literal error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0565" diff --git a/src/test/ui/error-codes/E0572.stderr b/src/test/ui/error-codes/E0572.stderr index cad313b90a613..1abc2222f0e33 100644 --- a/src/test/ui/error-codes/E0572.stderr +++ b/src/test/ui/error-codes/E0572.stderr @@ -6,3 +6,4 @@ error[E0572]: return statement outside of function body error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0572" diff --git a/src/test/ui/error-codes/E0582.stderr b/src/test/ui/error-codes/E0582.stderr index ac20683402302..21dd0d4f80aae 100644 --- a/src/test/ui/error-codes/E0582.stderr +++ b/src/test/ui/error-codes/E0582.stderr @@ -12,3 +12,4 @@ error[E0582]: binding for associated type `Item` references lifetime `'a`, which error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0582" diff --git a/src/test/ui/error-codes/E0585.stderr b/src/test/ui/error-codes/E0585.stderr index 49967f4ad81d5..28528c906262c 100644 --- a/src/test/ui/error-codes/E0585.stderr +++ b/src/test/ui/error-codes/E0585.stderr @@ -8,3 +8,4 @@ error[E0585]: found a documentation comment that doesn't document anything error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0585" diff --git a/src/test/ui/error-codes/E0586.stderr b/src/test/ui/error-codes/E0586.stderr index 3cf16bdc3c318..9b4263507a826 100644 --- a/src/test/ui/error-codes/E0586.stderr +++ b/src/test/ui/error-codes/E0586.stderr @@ -8,3 +8,4 @@ error[E0586]: inclusive range with no end error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0586" diff --git a/src/test/ui/error-codes/E0597.stderr b/src/test/ui/error-codes/E0597.stderr index 7316ee6475f18..87a961dbcd203 100644 --- a/src/test/ui/error-codes/E0597.stderr +++ b/src/test/ui/error-codes/E0597.stderr @@ -11,3 +11,4 @@ error[E0597]: `y` does not live long enough error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0597" diff --git a/src/test/ui/error-codes/E0599.stderr b/src/test/ui/error-codes/E0599.stderr index 0274506926f8d..ff9ac3cefc055 100644 --- a/src/test/ui/error-codes/E0599.stderr +++ b/src/test/ui/error-codes/E0599.stderr @@ -9,3 +9,4 @@ error[E0599]: no associated item named `NotEvenReal` found for type `Foo` in the error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/error-codes/E0600.stderr b/src/test/ui/error-codes/E0600.stderr index fec5f4169196e..34e1c56fe2fe8 100644 --- a/src/test/ui/error-codes/E0600.stderr +++ b/src/test/ui/error-codes/E0600.stderr @@ -6,3 +6,4 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0600" diff --git a/src/test/ui/error-codes/E0602.stderr b/src/test/ui/error-codes/E0602.stderr index cb6c05326e230..d72b426cf8256 100644 --- a/src/test/ui/error-codes/E0602.stderr +++ b/src/test/ui/error-codes/E0602.stderr @@ -4,3 +4,4 @@ error[E0602]: unknown lint: `bogus` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0602" diff --git a/src/test/ui/error-codes/E0603.stderr b/src/test/ui/error-codes/E0603.stderr index 1d8e2fa9340e3..71af28add7bcd 100644 --- a/src/test/ui/error-codes/E0603.stderr +++ b/src/test/ui/error-codes/E0603.stderr @@ -6,3 +6,4 @@ error[E0603]: constant `PRIVATE` is private error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0603" diff --git a/src/test/ui/error-codes/E0604.stderr b/src/test/ui/error-codes/E0604.stderr index 78d1c4dd47654..28f77417ecc88 100644 --- a/src/test/ui/error-codes/E0604.stderr +++ b/src/test/ui/error-codes/E0604.stderr @@ -6,3 +6,4 @@ error[E0604]: only `u8` can be cast as `char`, not `u32` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0604" diff --git a/src/test/ui/error-codes/E0605.stderr b/src/test/ui/error-codes/E0605.stderr index 0b44de25fb5cd..fe694b3eb19d4 100644 --- a/src/test/ui/error-codes/E0605.stderr +++ b/src/test/ui/error-codes/E0605.stderr @@ -16,3 +16,4 @@ error[E0605]: non-primitive cast: `*const u8` as `&u8` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0605" diff --git a/src/test/ui/error-codes/E0606.stderr b/src/test/ui/error-codes/E0606.stderr index 17051da1319d9..b606bd9113bbf 100644 --- a/src/test/ui/error-codes/E0606.stderr +++ b/src/test/ui/error-codes/E0606.stderr @@ -12,3 +12,4 @@ help: did you mean `*&0u8`? error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0606" diff --git a/src/test/ui/error-codes/E0607.stderr b/src/test/ui/error-codes/E0607.stderr index 5dfe6ad59b879..2fcb050e62816 100644 --- a/src/test/ui/error-codes/E0607.stderr +++ b/src/test/ui/error-codes/E0607.stderr @@ -6,3 +6,4 @@ error[E0607]: cannot cast thin pointer `*const u8` to fat pointer `*const [u8]` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0607" diff --git a/src/test/ui/error-codes/E0608.stderr b/src/test/ui/error-codes/E0608.stderr index ab75fe82af350..89095cbdf8118 100644 --- a/src/test/ui/error-codes/E0608.stderr +++ b/src/test/ui/error-codes/E0608.stderr @@ -6,3 +6,4 @@ error[E0608]: cannot index into a value of type `u8` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0608" diff --git a/src/test/ui/error-codes/E0609.stderr b/src/test/ui/error-codes/E0609.stderr index 561164cd277dc..56c088fd2be8f 100644 --- a/src/test/ui/error-codes/E0609.stderr +++ b/src/test/ui/error-codes/E0609.stderr @@ -14,3 +14,4 @@ error[E0609]: no field `1` on type `Bar` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0609" diff --git a/src/test/ui/error-codes/E0610.stderr b/src/test/ui/error-codes/E0610.stderr index 351e9208e95bd..3fa9be7e0debb 100644 --- a/src/test/ui/error-codes/E0610.stderr +++ b/src/test/ui/error-codes/E0610.stderr @@ -6,3 +6,4 @@ error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0610" diff --git a/src/test/ui/error-codes/E0611.stderr b/src/test/ui/error-codes/E0611.stderr index 33fe78bc18c60..e08b2edd63f66 100644 --- a/src/test/ui/error-codes/E0611.stderr +++ b/src/test/ui/error-codes/E0611.stderr @@ -6,3 +6,4 @@ error[E0611]: field `0` of tuple-struct `a::Foo` is private error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0611" diff --git a/src/test/ui/error-codes/E0612.stderr b/src/test/ui/error-codes/E0612.stderr index 21fdaf84dc94d..0535f13a4c492 100644 --- a/src/test/ui/error-codes/E0612.stderr +++ b/src/test/ui/error-codes/E0612.stderr @@ -6,3 +6,4 @@ error[E0612]: attempted out-of-bounds tuple index `1` on type `Foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0612" diff --git a/src/test/ui/error-codes/E0614.stderr b/src/test/ui/error-codes/E0614.stderr index 242cc36f0b9a1..806fed59f79f3 100644 --- a/src/test/ui/error-codes/E0614.stderr +++ b/src/test/ui/error-codes/E0614.stderr @@ -6,3 +6,4 @@ error[E0614]: type `u32` cannot be dereferenced error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0614" diff --git a/src/test/ui/error-codes/E0615.stderr b/src/test/ui/error-codes/E0615.stderr index fb3f9269f7c2b..3481a1e3a0550 100644 --- a/src/test/ui/error-codes/E0615.stderr +++ b/src/test/ui/error-codes/E0615.stderr @@ -8,3 +8,4 @@ error[E0615]: attempted to take value of method `method` on type `Foo` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0615" diff --git a/src/test/ui/error-codes/E0616.stderr b/src/test/ui/error-codes/E0616.stderr index 1dccd06b376d9..2cf889ce6fb41 100644 --- a/src/test/ui/error-codes/E0616.stderr +++ b/src/test/ui/error-codes/E0616.stderr @@ -6,3 +6,4 @@ error[E0616]: field `x` of struct `a::Foo` is private error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0616" diff --git a/src/test/ui/error-codes/E0617.stderr b/src/test/ui/error-codes/E0617.stderr index 49d63538624e6..b72ab2de4144b 100644 --- a/src/test/ui/error-codes/E0617.stderr +++ b/src/test/ui/error-codes/E0617.stderr @@ -40,3 +40,4 @@ help: cast the value to `unsafe extern "C" fn(*const i8, ...)` error: aborting due to 6 previous errors +If you want more information on this error, try using "rustc --explain E0617" diff --git a/src/test/ui/error-codes/E0618.stderr b/src/test/ui/error-codes/E0618.stderr index 8702437659693..9f364f55dd6c6 100644 --- a/src/test/ui/error-codes/E0618.stderr +++ b/src/test/ui/error-codes/E0618.stderr @@ -21,3 +21,4 @@ error[E0618]: expected function, found `i32` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0618" diff --git a/src/test/ui/error-codes/E0620.stderr b/src/test/ui/error-codes/E0620.stderr index 564a9472ac9a2..5c18afebf5a31 100644 --- a/src/test/ui/error-codes/E0620.stderr +++ b/src/test/ui/error-codes/E0620.stderr @@ -12,3 +12,4 @@ help: consider using an implicit coercion to `&[usize]` instead error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0620" diff --git a/src/test/ui/error-codes/E0621-does-not-trigger-for-closures.stderr b/src/test/ui/error-codes/E0621-does-not-trigger-for-closures.stderr index c529a838bf739..c9d5542ee1724 100644 --- a/src/test/ui/error-codes/E0621-does-not-trigger-for-closures.stderr +++ b/src/test/ui/error-codes/E0621-does-not-trigger-for-closures.stderr @@ -27,3 +27,4 @@ note: ...so type `&i32` of expression is valid during the expression error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0495" diff --git a/src/test/ui/error-codes/E0622.stderr b/src/test/ui/error-codes/E0622.stderr index 977f44a9c9781..9135da97825ea 100644 --- a/src/test/ui/error-codes/E0622.stderr +++ b/src/test/ui/error-codes/E0622.stderr @@ -6,3 +6,4 @@ error[E0622]: intrinsic must be a function error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0622" diff --git a/src/test/ui/error-codes/E0624.stderr b/src/test/ui/error-codes/E0624.stderr index 0afb05a8a5e81..621b82df43ce3 100644 --- a/src/test/ui/error-codes/E0624.stderr +++ b/src/test/ui/error-codes/E0624.stderr @@ -6,3 +6,4 @@ error[E0624]: method `method` is private error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0624" diff --git a/src/test/ui/error-codes/E0637.stderr b/src/test/ui/error-codes/E0637.stderr index e314afd221e40..d035359b73aaf 100644 --- a/src/test/ui/error-codes/E0637.stderr +++ b/src/test/ui/error-codes/E0637.stderr @@ -18,3 +18,4 @@ error[E0637]: invalid lifetime bound name: `'_` error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0637" diff --git a/src/test/ui/error-codes/E0657.stderr b/src/test/ui/error-codes/E0657.stderr index e039d645fa6db..82b0568b59afb 100644 --- a/src/test/ui/error-codes/E0657.stderr +++ b/src/test/ui/error-codes/E0657.stderr @@ -12,3 +12,4 @@ error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl le error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0657" diff --git a/src/test/ui/error-codes/E0658.stderr b/src/test/ui/error-codes/E0658.stderr index c18d8090233d4..461edabf5c956 100644 --- a/src/test/ui/error-codes/E0658.stderr +++ b/src/test/ui/error-codes/E0658.stderr @@ -8,3 +8,4 @@ error[E0658]: use of unstable library feature 'i128' (see issue #35118) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/error-codes/E0659.stderr b/src/test/ui/error-codes/E0659.stderr index c2410e2f733bc..266afa893bf6d 100644 --- a/src/test/ui/error-codes/E0659.stderr +++ b/src/test/ui/error-codes/E0659.stderr @@ -18,3 +18,4 @@ note: `foo` could also refer to the name imported here error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0659" diff --git a/src/test/ui/fat-ptr-cast.stderr b/src/test/ui/fat-ptr-cast.stderr index b3c2b23cd3272..cd8511426fffc 100644 --- a/src/test/ui/fat-ptr-cast.stderr +++ b/src/test/ui/fat-ptr-cast.stderr @@ -66,3 +66,5 @@ error[E0606]: casting `usize` as `*const str` is invalid error: aborting due to 9 previous errors +You've got a few errors: E0605, E0606, E0607 +If you want more information on an error, try using "rustc --explain E0605" diff --git a/src/test/ui/feature-gate-abi-msp430-interrupt.stderr b/src/test/ui/feature-gate-abi-msp430-interrupt.stderr index e1621d34d46ac..9f8571a311dfd 100644 --- a/src/test/ui/feature-gate-abi-msp430-interrupt.stderr +++ b/src/test/ui/feature-gate-abi-msp430-interrupt.stderr @@ -8,3 +8,4 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change (see is error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-abi.stderr b/src/test/ui/feature-gate-abi.stderr index ce31474caed9b..7bef59e9b1e97 100644 --- a/src/test/ui/feature-gate-abi.stderr +++ b/src/test/ui/feature-gate-abi.stderr @@ -448,3 +448,4 @@ error[E0658]: thiscall is experimental and subject to change error: aborting due to 56 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-abi_unadjusted.stderr b/src/test/ui/feature-gate-abi_unadjusted.stderr index b3f7cd218d3e9..62a6a2dfd9931 100644 --- a/src/test/ui/feature-gate-abi_unadjusted.stderr +++ b/src/test/ui/feature-gate-abi_unadjusted.stderr @@ -10,3 +10,4 @@ error[E0658]: unadjusted ABI is an implementation detail and perma-unstable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-advanced-slice-features.stderr b/src/test/ui/feature-gate-advanced-slice-features.stderr index 63ede50e1ea3a..4a6f41c453ec2 100644 --- a/src/test/ui/feature-gate-advanced-slice-features.stderr +++ b/src/test/ui/feature-gate-advanced-slice-features.stderr @@ -16,3 +16,4 @@ error[E0658]: multiple-element slice matches anywhere but at the end of a slice error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-allocator_internals.stderr b/src/test/ui/feature-gate-allocator_internals.stderr index 76d96f929bec1..dd06b1b7f3199 100644 --- a/src/test/ui/feature-gate-allocator_internals.stderr +++ b/src/test/ui/feature-gate-allocator_internals.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[default_lib_allocator]` attribute is an experimental featur error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-allow-internal-unsafe-nested-macro.stderr b/src/test/ui/feature-gate-allow-internal-unsafe-nested-macro.stderr index 31de8d7628556..42789389a5949 100644 --- a/src/test/ui/feature-gate-allow-internal-unsafe-nested-macro.stderr +++ b/src/test/ui/feature-gate-allow-internal-unsafe-nested-macro.stderr @@ -11,3 +11,4 @@ error[E0658]: allow_internal_unsafe side-steps the unsafe_code lint error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-allow-internal-unstable-nested-macro.stderr b/src/test/ui/feature-gate-allow-internal-unstable-nested-macro.stderr index 3e2573eda21cb..6d02a1cc57f95 100644 --- a/src/test/ui/feature-gate-allow-internal-unstable-nested-macro.stderr +++ b/src/test/ui/feature-gate-allow-internal-unstable-nested-macro.stderr @@ -11,3 +11,4 @@ error[E0658]: allow_internal_unstable side-steps feature gating and stability ch error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-allow-internal-unstable-struct.stderr b/src/test/ui/feature-gate-allow-internal-unstable-struct.stderr index e19f3288e8163..d5b6892e75a2f 100644 --- a/src/test/ui/feature-gate-allow-internal-unstable-struct.stderr +++ b/src/test/ui/feature-gate-allow-internal-unstable-struct.stderr @@ -8,3 +8,4 @@ error[E0658]: allow_internal_unstable side-steps feature gating and stability ch error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-allow-internal-unstable.stderr b/src/test/ui/feature-gate-allow-internal-unstable.stderr index f110afb35a034..ec17a33da7229 100644 --- a/src/test/ui/feature-gate-allow-internal-unstable.stderr +++ b/src/test/ui/feature-gate-allow-internal-unstable.stderr @@ -8,3 +8,4 @@ error[E0658]: allow_internal_unstable side-steps feature gating and stability ch error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-allow_fail.stderr b/src/test/ui/feature-gate-allow_fail.stderr index e04f44886dd2e..cb8c7d5d51462 100644 --- a/src/test/ui/feature-gate-allow_fail.stderr +++ b/src/test/ui/feature-gate-allow_fail.stderr @@ -8,3 +8,4 @@ error[E0658]: allow_fail attribute is currently unstable (see issue #42219) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-arbitrary-self-types.stderr b/src/test/ui/feature-gate-arbitrary-self-types.stderr index ca47d40dc8f86..bbb5e92345283 100644 --- a/src/test/ui/feature-gate-arbitrary-self-types.stderr +++ b/src/test/ui/feature-gate-arbitrary-self-types.stderr @@ -27,3 +27,4 @@ error[E0658]: arbitrary `self` types are unstable (see issue #44874) error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-arbitrary_self_types-raw-pointer.stderr b/src/test/ui/feature-gate-arbitrary_self_types-raw-pointer.stderr index 33e8806678d66..e22c4bebfaf50 100644 --- a/src/test/ui/feature-gate-arbitrary_self_types-raw-pointer.stderr +++ b/src/test/ui/feature-gate-arbitrary_self_types-raw-pointer.stderr @@ -27,3 +27,4 @@ error[E0658]: raw pointer `self` is unstable (see issue #44874) error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-asm.stderr b/src/test/ui/feature-gate-asm.stderr index 481e6dc7055cc..277193c07ed4c 100644 --- a/src/test/ui/feature-gate-asm.stderr +++ b/src/test/ui/feature-gate-asm.stderr @@ -8,3 +8,4 @@ error[E0658]: inline assembly is not stable enough for use and is subject to cha error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-asm2.stderr b/src/test/ui/feature-gate-asm2.stderr index aba0f72d35c1d..804e3d59dea17 100644 --- a/src/test/ui/feature-gate-asm2.stderr +++ b/src/test/ui/feature-gate-asm2.stderr @@ -8,3 +8,4 @@ error[E0658]: inline assembly is not stable enough for use and is subject to cha error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-assoc-type-defaults.stderr b/src/test/ui/feature-gate-assoc-type-defaults.stderr index 1d44797cddc9b..97fd18aab171f 100644 --- a/src/test/ui/feature-gate-assoc-type-defaults.stderr +++ b/src/test/ui/feature-gate-assoc-type-defaults.stderr @@ -8,3 +8,4 @@ error[E0658]: associated type defaults are unstable (see issue #29661) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-box-expr.stderr b/src/test/ui/feature-gate-box-expr.stderr index f9cccde376158..a1d6d17bd4da3 100644 --- a/src/test/ui/feature-gate-box-expr.stderr +++ b/src/test/ui/feature-gate-box-expr.stderr @@ -8,3 +8,4 @@ error[E0658]: box expression syntax is experimental; you can call `Box::new` ins error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-box_patterns.stderr b/src/test/ui/feature-gate-box_patterns.stderr index ca009331b69c6..7457fc276820b 100644 --- a/src/test/ui/feature-gate-box_patterns.stderr +++ b/src/test/ui/feature-gate-box_patterns.stderr @@ -8,3 +8,4 @@ error[E0658]: box pattern syntax is experimental (see issue #29641) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-box_syntax.stderr b/src/test/ui/feature-gate-box_syntax.stderr index eefaa724650da..e3490edf9fb38 100644 --- a/src/test/ui/feature-gate-box_syntax.stderr +++ b/src/test/ui/feature-gate-box_syntax.stderr @@ -8,3 +8,4 @@ error[E0658]: box expression syntax is experimental; you can call `Box::new` ins error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-catch_expr.stderr b/src/test/ui/feature-gate-catch_expr.stderr index 4b3bfbbe27ac8..73e9a9c896b33 100644 --- a/src/test/ui/feature-gate-catch_expr.stderr +++ b/src/test/ui/feature-gate-catch_expr.stderr @@ -12,3 +12,4 @@ error[E0658]: `catch` expression is experimental (see issue #31436) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-cfg-target-feature.stderr b/src/test/ui/feature-gate-cfg-target-feature.stderr index f808e78acce1a..05f1a09a05b9a 100644 --- a/src/test/ui/feature-gate-cfg-target-feature.stderr +++ b/src/test/ui/feature-gate-cfg-target-feature.stderr @@ -32,3 +32,4 @@ error[E0658]: `cfg(target_feature)` is experimental and subject to change (see i error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-cfg-target-has-atomic.stderr b/src/test/ui/feature-gate-cfg-target-has-atomic.stderr index ace23b38d2dc5..0a1332719b5dd 100644 --- a/src/test/ui/feature-gate-cfg-target-has-atomic.stderr +++ b/src/test/ui/feature-gate-cfg-target-has-atomic.stderr @@ -120,3 +120,4 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change (se error: aborting due to 15 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-cfg-target-thread-local.stderr b/src/test/ui/feature-gate-cfg-target-thread-local.stderr index a0a03bdcd4696..271268947493c 100644 --- a/src/test/ui/feature-gate-cfg-target-thread-local.stderr +++ b/src/test/ui/feature-gate-cfg-target-thread-local.stderr @@ -8,3 +8,4 @@ error[E0658]: `cfg(target_thread_local)` is experimental and subject to change ( error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-cfg-target-vendor.stderr b/src/test/ui/feature-gate-cfg-target-vendor.stderr index 3e4a74636f923..ff563978402d9 100644 --- a/src/test/ui/feature-gate-cfg-target-vendor.stderr +++ b/src/test/ui/feature-gate-cfg-target-vendor.stderr @@ -32,3 +32,4 @@ error[E0658]: `cfg(target_vendor)` is experimental and subject to change (see is error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-clone-closures.stderr b/src/test/ui/feature-gate-clone-closures.stderr index 3e07aa1744080..de0d3c3611460 100644 --- a/src/test/ui/feature-gate-clone-closures.stderr +++ b/src/test/ui/feature-gate-clone-closures.stderr @@ -8,3 +8,4 @@ error[E0599]: no method named `clone` found for type `[closure@$DIR/feature-gate error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/feature-gate-compiler-builtins.stderr b/src/test/ui/feature-gate-compiler-builtins.stderr index edb3c5d62aeed..ee4e33f4005d9 100644 --- a/src/test/ui/feature-gate-compiler-builtins.stderr +++ b/src/test/ui/feature-gate-compiler-builtins.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[compiler_builtins]` attribute is used to identify the `comp error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-concat_idents.stderr b/src/test/ui/feature-gate-concat_idents.stderr index d0a07e3d3c9ed..cec3ed47607ee 100644 --- a/src/test/ui/feature-gate-concat_idents.stderr +++ b/src/test/ui/feature-gate-concat_idents.stderr @@ -16,3 +16,4 @@ error[E0658]: `concat_idents` is not stable enough for use and is subject to cha error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-concat_idents2.stderr b/src/test/ui/feature-gate-concat_idents2.stderr index 0ef6921c64d8b..0d39479ba8fb9 100644 --- a/src/test/ui/feature-gate-concat_idents2.stderr +++ b/src/test/ui/feature-gate-concat_idents2.stderr @@ -8,3 +8,4 @@ error[E0658]: `concat_idents` is not stable enough for use and is subject to cha error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-concat_idents3.stderr b/src/test/ui/feature-gate-concat_idents3.stderr index a9a1e493a45f7..2c4ed467ab473 100644 --- a/src/test/ui/feature-gate-concat_idents3.stderr +++ b/src/test/ui/feature-gate-concat_idents3.stderr @@ -16,3 +16,4 @@ error[E0658]: `concat_idents` is not stable enough for use and is subject to cha error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-conservative_impl_trait.stderr b/src/test/ui/feature-gate-conservative_impl_trait.stderr index f3d39477387a4..1448bad3d1816 100644 --- a/src/test/ui/feature-gate-conservative_impl_trait.stderr +++ b/src/test/ui/feature-gate-conservative_impl_trait.stderr @@ -8,3 +8,4 @@ error[E0658]: `impl Trait` in return position is experimental (see issue #34511) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-const-indexing.stderr b/src/test/ui/feature-gate-const-indexing.stderr index bc4b687800d75..18b855d6b4f09 100644 --- a/src/test/ui/feature-gate-const-indexing.stderr +++ b/src/test/ui/feature-gate-const-indexing.stderr @@ -6,3 +6,4 @@ error[E0080]: constant evaluation error error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0080" diff --git a/src/test/ui/feature-gate-const_fn.stderr b/src/test/ui/feature-gate-const_fn.stderr index ecd1ff5a6c455..9c22f89a7ef5e 100644 --- a/src/test/ui/feature-gate-const_fn.stderr +++ b/src/test/ui/feature-gate-const_fn.stderr @@ -58,3 +58,5 @@ error[E0658]: const fn is unstable (see issue #24111) error: aborting due to 8 previous errors +You've got a few errors: E0379, E0658 +If you want more information on an error, try using "rustc --explain E0379" diff --git a/src/test/ui/feature-gate-copy-closures.stderr b/src/test/ui/feature-gate-copy-closures.stderr index 9b324672f2246..2604d8bb53d32 100644 --- a/src/test/ui/feature-gate-copy-closures.stderr +++ b/src/test/ui/feature-gate-copy-closures.stderr @@ -10,3 +10,4 @@ error[E0382]: use of moved value: `hello` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0382" diff --git a/src/test/ui/feature-gate-crate_in_paths.stderr b/src/test/ui/feature-gate-crate_in_paths.stderr index 322a38a996f77..0c080934446b2 100644 --- a/src/test/ui/feature-gate-crate_in_paths.stderr +++ b/src/test/ui/feature-gate-crate_in_paths.stderr @@ -8,3 +8,4 @@ error[E0658]: `crate` in paths is experimental (see issue #45477) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-crate_visibility_modifier.stderr b/src/test/ui/feature-gate-crate_visibility_modifier.stderr index fadc76bc0c036..ede92642f7542 100644 --- a/src/test/ui/feature-gate-crate_visibility_modifier.stderr +++ b/src/test/ui/feature-gate-crate_visibility_modifier.stderr @@ -8,3 +8,4 @@ error[E0658]: `crate` visibility modifier is experimental (see issue #45388) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-custom_attribute.stderr b/src/test/ui/feature-gate-custom_attribute.stderr index f4d726c8c41c9..3652834ce8e2f 100644 --- a/src/test/ui/feature-gate-custom_attribute.stderr +++ b/src/test/ui/feature-gate-custom_attribute.stderr @@ -104,3 +104,4 @@ error[E0658]: The attribute `fake_doc` is currently unknown to the compiler and error: aborting due to 13 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-custom_attribute2.stderr b/src/test/ui/feature-gate-custom_attribute2.stderr index 08878e172042b..fdc26a6c0e33f 100644 --- a/src/test/ui/feature-gate-custom_attribute2.stderr +++ b/src/test/ui/feature-gate-custom_attribute2.stderr @@ -136,3 +136,4 @@ error[E0658]: The attribute `lt_hof` is currently unknown to the compiler and ma error: aborting due to 17 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-custom_derive.stderr b/src/test/ui/feature-gate-custom_derive.stderr index 86066285a55b3..20168ba0e5a5d 100644 --- a/src/test/ui/feature-gate-custom_derive.stderr +++ b/src/test/ui/feature-gate-custom_derive.stderr @@ -8,3 +8,4 @@ error[E0658]: attributes of the form `#[derive_*]` are reserved for the compiler error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-decl_macro.stderr b/src/test/ui/feature-gate-decl_macro.stderr index c7144f09bd613..37fbd9fa270b6 100644 --- a/src/test/ui/feature-gate-decl_macro.stderr +++ b/src/test/ui/feature-gate-decl_macro.stderr @@ -8,3 +8,4 @@ error[E0658]: `macro` is experimental (see issue #39412) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-doc_cfg.stderr b/src/test/ui/feature-gate-doc_cfg.stderr index e009e0bc3c471..df9da6b7a2c06 100644 --- a/src/test/ui/feature-gate-doc_cfg.stderr +++ b/src/test/ui/feature-gate-doc_cfg.stderr @@ -8,3 +8,4 @@ error[E0658]: #[doc(cfg(...))] is experimental (see issue #43781) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-doc_masked.stderr b/src/test/ui/feature-gate-doc_masked.stderr index ee2d384e99841..1aef2aea33a26 100644 --- a/src/test/ui/feature-gate-doc_masked.stderr +++ b/src/test/ui/feature-gate-doc_masked.stderr @@ -8,3 +8,4 @@ error[E0658]: #[doc(masked)] is experimental (see issue #44027) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-doc_spotlight.stderr b/src/test/ui/feature-gate-doc_spotlight.stderr index 36d854892be28..7a23eeee44ca8 100644 --- a/src/test/ui/feature-gate-doc_spotlight.stderr +++ b/src/test/ui/feature-gate-doc_spotlight.stderr @@ -8,3 +8,4 @@ error[E0658]: #[doc(spotlight)] is experimental (see issue #45040) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-dotdoteq_in_patterns.stderr b/src/test/ui/feature-gate-dotdoteq_in_patterns.stderr index 2d26c6ae8ebe7..2796686fe415b 100644 --- a/src/test/ui/feature-gate-dotdoteq_in_patterns.stderr +++ b/src/test/ui/feature-gate-dotdoteq_in_patterns.stderr @@ -8,3 +8,4 @@ error[E0658]: `..=` syntax in patterns is experimental (see issue #28237) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-dropck-ugeh.stderr b/src/test/ui/feature-gate-dropck-ugeh.stderr index cdeca7026b0c6..d6af01c1a9b9e 100644 --- a/src/test/ui/feature-gate-dropck-ugeh.stderr +++ b/src/test/ui/feature-gate-dropck-ugeh.stderr @@ -8,3 +8,4 @@ error[E0658]: unsafe_destructor_blind_to_params has been replaced by may_dangle error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-dyn-trait.stderr b/src/test/ui/feature-gate-dyn-trait.stderr index d6ba4b8ad6698..ad744c0257cf4 100644 --- a/src/test/ui/feature-gate-dyn-trait.stderr +++ b/src/test/ui/feature-gate-dyn-trait.stderr @@ -8,3 +8,4 @@ error[E0658]: `dyn Trait` syntax is unstable (see issue #44662) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-exclusive-range-pattern.stderr b/src/test/ui/feature-gate-exclusive-range-pattern.stderr index 3185281ce4bb4..e11791dcdf09f 100644 --- a/src/test/ui/feature-gate-exclusive-range-pattern.stderr +++ b/src/test/ui/feature-gate-exclusive-range-pattern.stderr @@ -8,3 +8,4 @@ error[E0658]: exclusive range pattern syntax is experimental (see issue #37854) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-extern_absolute_paths.stderr b/src/test/ui/feature-gate-extern_absolute_paths.stderr index 111cd06cb3c3e..5e01782f2d43a 100644 --- a/src/test/ui/feature-gate-extern_absolute_paths.stderr +++ b/src/test/ui/feature-gate-extern_absolute_paths.stderr @@ -12,3 +12,5 @@ error[E0433]: failed to resolve. Maybe a missing `extern crate core;`? error: aborting due to 2 previous errors +You've got a few errors: E0432, E0433 +If you want more information on an error, try using "rustc --explain E0432" diff --git a/src/test/ui/feature-gate-extern_in_paths.stderr b/src/test/ui/feature-gate-extern_in_paths.stderr index 022e53b6be096..82228e40f0b44 100644 --- a/src/test/ui/feature-gate-extern_in_paths.stderr +++ b/src/test/ui/feature-gate-extern_in_paths.stderr @@ -8,3 +8,4 @@ error[E0658]: `extern` in paths is experimental (see issue #44660) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-extern_types.stderr b/src/test/ui/feature-gate-extern_types.stderr index 71caa37963f4f..c826ad637c4e2 100644 --- a/src/test/ui/feature-gate-extern_types.stderr +++ b/src/test/ui/feature-gate-extern_types.stderr @@ -8,3 +8,4 @@ error[E0658]: extern types are experimental (see issue #43467) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-external_doc.stderr b/src/test/ui/feature-gate-external_doc.stderr index db6c99bceede6..43d68c85b2ee5 100644 --- a/src/test/ui/feature-gate-external_doc.stderr +++ b/src/test/ui/feature-gate-external_doc.stderr @@ -8,3 +8,4 @@ error[E0658]: #[doc(include = "...")] is experimental (see issue #44732) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-fundamental.stderr b/src/test/ui/feature-gate-fundamental.stderr index 28d8a80e602ab..84a196e7178a0 100644 --- a/src/test/ui/feature-gate-fundamental.stderr +++ b/src/test/ui/feature-gate-fundamental.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[fundamental]` attribute is an experimental feature (see iss error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-generators.stderr b/src/test/ui/feature-gate-generators.stderr index f559227f717e4..7991ff1866280 100644 --- a/src/test/ui/feature-gate-generators.stderr +++ b/src/test/ui/feature-gate-generators.stderr @@ -8,3 +8,4 @@ error[E0658]: yield syntax is experimental error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-generic_associated_types.stderr b/src/test/ui/feature-gate-generic_associated_types.stderr index c047914fb3b84..9d5d05d9aa3df 100644 --- a/src/test/ui/feature-gate-generic_associated_types.stderr +++ b/src/test/ui/feature-gate-generic_associated_types.stderr @@ -32,3 +32,4 @@ error[E0658]: generic associated types are unstable (see issue #44265) error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-generic_param_attrs.stderr b/src/test/ui/feature-gate-generic_param_attrs.stderr index a18d104cc2b33..561037217d7b9 100644 --- a/src/test/ui/feature-gate-generic_param_attrs.stderr +++ b/src/test/ui/feature-gate-generic_param_attrs.stderr @@ -136,3 +136,4 @@ error[E0658]: attributes on lifetime bindings are experimental (see issue #34761 error: aborting due to 17 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-global_allocator.stderr b/src/test/ui/feature-gate-global_allocator.stderr index 8d82f6ee9e395..9e0c1577a92e5 100644 --- a/src/test/ui/feature-gate-global_allocator.stderr +++ b/src/test/ui/feature-gate-global_allocator.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[global_allocator]` attribute is an experimental feature error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-global_asm.stderr b/src/test/ui/feature-gate-global_asm.stderr index ca946579f5dbe..72a0729a2eb86 100644 --- a/src/test/ui/feature-gate-global_asm.stderr +++ b/src/test/ui/feature-gate-global_asm.stderr @@ -8,3 +8,4 @@ error[E0658]: `global_asm!` is not stable enough for use and is subject to chang error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-i128_type.stderr b/src/test/ui/feature-gate-i128_type.stderr index 06fdeadbbf693..c87852f6352ee 100644 --- a/src/test/ui/feature-gate-i128_type.stderr +++ b/src/test/ui/feature-gate-i128_type.stderr @@ -16,3 +16,4 @@ error[E0658]: 128-bit integers are not stable (see issue #35118) error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-i128_type2.stderr b/src/test/ui/feature-gate-i128_type2.stderr index ee81a26921498..76f50579f28b4 100644 --- a/src/test/ui/feature-gate-i128_type2.stderr +++ b/src/test/ui/feature-gate-i128_type2.stderr @@ -44,3 +44,5 @@ error[E0658]: repr with 128-bit type is unstable (see issue #35118) error: aborting due to 6 previous errors +You've got a few errors: E0601, E0658 +If you want more information on an error, try using "rustc --explain E0601" diff --git a/src/test/ui/feature-gate-in_band_lifetimes.stderr b/src/test/ui/feature-gate-in_band_lifetimes.stderr index 3b03ef2dd338a..d39d568741eaa 100644 --- a/src/test/ui/feature-gate-in_band_lifetimes.stderr +++ b/src/test/ui/feature-gate-in_band_lifetimes.stderr @@ -102,3 +102,4 @@ error[E0261]: use of undeclared lifetime name `'b` error: aborting due to 17 previous errors +If you want more information on this error, try using "rustc --explain E0261" diff --git a/src/test/ui/feature-gate-intrinsics.stderr b/src/test/ui/feature-gate-intrinsics.stderr index 918c749504aea..16a2099955cca 100644 --- a/src/test/ui/feature-gate-intrinsics.stderr +++ b/src/test/ui/feature-gate-intrinsics.stderr @@ -19,3 +19,4 @@ error[E0658]: intrinsics are subject to change error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-lang-items.stderr b/src/test/ui/feature-gate-lang-items.stderr index 28e3dab8fa72a..31c1c46734cab 100644 --- a/src/test/ui/feature-gate-lang-items.stderr +++ b/src/test/ui/feature-gate-lang-items.stderr @@ -8,3 +8,4 @@ error[E0658]: language items are subject to change error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-link_args.stderr b/src/test/ui/feature-gate-link_args.stderr index 78070d52f1f15..b098a4377feee 100644 --- a/src/test/ui/feature-gate-link_args.stderr +++ b/src/test/ui/feature-gate-link_args.stderr @@ -24,3 +24,4 @@ error[E0658]: the `link_args` attribute is experimental and not portable across error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-link_cfg.stderr b/src/test/ui/feature-gate-link_cfg.stderr index 8aada72fb0c8b..796c0a0d283b5 100644 --- a/src/test/ui/feature-gate-link_cfg.stderr +++ b/src/test/ui/feature-gate-link_cfg.stderr @@ -8,3 +8,4 @@ error[E0658]: is feature gated (see issue #37406) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-link_llvm_intrinsics.stderr b/src/test/ui/feature-gate-link_llvm_intrinsics.stderr index 136658f23fdd8..28a57bcdfef89 100644 --- a/src/test/ui/feature-gate-link_llvm_intrinsics.stderr +++ b/src/test/ui/feature-gate-link_llvm_intrinsics.stderr @@ -8,3 +8,4 @@ error[E0658]: linking to LLVM intrinsics is experimental (see issue #29602) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-linkage.stderr b/src/test/ui/feature-gate-linkage.stderr index 54764b1920c4d..008ccecc4fd45 100644 --- a/src/test/ui/feature-gate-linkage.stderr +++ b/src/test/ui/feature-gate-linkage.stderr @@ -8,3 +8,4 @@ error[E0658]: the `linkage` attribute is experimental and not portable across pl error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-linker-flavor.stderr b/src/test/ui/feature-gate-linker-flavor.stderr index e58693d35c210..dd773465cebb6 100644 --- a/src/test/ui/feature-gate-linker-flavor.stderr +++ b/src/test/ui/feature-gate-linker-flavor.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[used]` attribute is an experimental feature (see issue #402 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-log_syntax.stderr b/src/test/ui/feature-gate-log_syntax.stderr index 363b1753f4ad9..d0c8f601b2736 100644 --- a/src/test/ui/feature-gate-log_syntax.stderr +++ b/src/test/ui/feature-gate-log_syntax.stderr @@ -8,3 +8,4 @@ error[E0658]: `log_syntax!` is not stable enough for use and is subject to chang error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-log_syntax2.stderr b/src/test/ui/feature-gate-log_syntax2.stderr index f47a5076e7953..652f32448e2c0 100644 --- a/src/test/ui/feature-gate-log_syntax2.stderr +++ b/src/test/ui/feature-gate-log_syntax2.stderr @@ -8,3 +8,4 @@ error[E0658]: `log_syntax!` is not stable enough for use and is subject to chang error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-macro-lifetime-matcher.stderr b/src/test/ui/feature-gate-macro-lifetime-matcher.stderr index 553a7d3d13158..4693110d471d1 100644 --- a/src/test/ui/feature-gate-macro-lifetime-matcher.stderr +++ b/src/test/ui/feature-gate-macro-lifetime-matcher.stderr @@ -8,3 +8,4 @@ error[E0658]: :lifetime fragment specifier is experimental and subject to change error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-macro-vis-matcher.stderr b/src/test/ui/feature-gate-macro-vis-matcher.stderr index ee1844c092259..c8b6d8efc2d6b 100644 --- a/src/test/ui/feature-gate-macro-vis-matcher.stderr +++ b/src/test/ui/feature-gate-macro-vis-matcher.stderr @@ -8,3 +8,4 @@ error[E0658]: :vis fragment specifier is experimental and subject to change (see error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-macro_at_most_once_rep.stderr b/src/test/ui/feature-gate-macro_at_most_once_rep.stderr index 02dbab07bdecc..0a4d68174ad9d 100644 --- a/src/test/ui/feature-gate-macro_at_most_once_rep.stderr +++ b/src/test/ui/feature-gate-macro_at_most_once_rep.stderr @@ -8,3 +8,4 @@ error[E0658]: Using the `?` macro Kleene operator for "at most one" repetition i error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-main.stderr b/src/test/ui/feature-gate-main.stderr index 56e9c8b37e31e..e3810f4adeb9b 100644 --- a/src/test/ui/feature-gate-main.stderr +++ b/src/test/ui/feature-gate-main.stderr @@ -8,3 +8,4 @@ error[E0658]: declaration of a nonstandard #[main] function may change over time error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-match_default_bindings.stderr b/src/test/ui/feature-gate-match_default_bindings.stderr index 1bedfb7f8bee7..bf7e061eb2c59 100644 --- a/src/test/ui/feature-gate-match_default_bindings.stderr +++ b/src/test/ui/feature-gate-match_default_bindings.stderr @@ -8,3 +8,4 @@ error[E0658]: non-reference pattern used to match a reference (see issue #42640) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-may-dangle.stderr b/src/test/ui/feature-gate-may-dangle.stderr index a3a3f7bd1742d..08dcc5ccd266c 100644 --- a/src/test/ui/feature-gate-may-dangle.stderr +++ b/src/test/ui/feature-gate-may-dangle.stderr @@ -8,3 +8,4 @@ error[E0658]: may_dangle has unstable semantics and may be removed in the future error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-naked_functions.stderr b/src/test/ui/feature-gate-naked_functions.stderr index 5f72234e5df5b..6f700a8216b42 100644 --- a/src/test/ui/feature-gate-naked_functions.stderr +++ b/src/test/ui/feature-gate-naked_functions.stderr @@ -16,3 +16,4 @@ error[E0658]: the `#[naked]` attribute is an experimental feature (see issue #32 error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-needs-allocator.stderr b/src/test/ui/feature-gate-needs-allocator.stderr index 11b8c31e6df5a..3cbd4d9053ba3 100644 --- a/src/test/ui/feature-gate-needs-allocator.stderr +++ b/src/test/ui/feature-gate-needs-allocator.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[needs_allocator]` attribute is an experimental feature error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-negate-unsigned.stderr b/src/test/ui/feature-gate-negate-unsigned.stderr index d4311594517c7..5f1d5abcf34ca 100644 --- a/src/test/ui/feature-gate-negate-unsigned.stderr +++ b/src/test/ui/feature-gate-negate-unsigned.stderr @@ -12,3 +12,4 @@ error[E0600]: cannot apply unary operator `-` to type `u8` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0600" diff --git a/src/test/ui/feature-gate-never_type.stderr b/src/test/ui/feature-gate-never_type.stderr index 2fd04f51e7e52..d38ac8e04fa44 100644 --- a/src/test/ui/feature-gate-never_type.stderr +++ b/src/test/ui/feature-gate-never_type.stderr @@ -40,3 +40,4 @@ error[E0658]: The `!` type is experimental (see issue #35121) error: aborting due to 5 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-nll.stderr b/src/test/ui/feature-gate-nll.stderr index 4135462305a89..129af48d6c7f8 100644 --- a/src/test/ui/feature-gate-nll.stderr +++ b/src/test/ui/feature-gate-nll.stderr @@ -8,3 +8,4 @@ error[E0506]: cannot assign to `x` because it is borrowed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0506" diff --git a/src/test/ui/feature-gate-no-debug.stderr b/src/test/ui/feature-gate-no-debug.stderr index c7af8cf6aab7e..358e8b1018860 100644 --- a/src/test/ui/feature-gate-no-debug.stderr +++ b/src/test/ui/feature-gate-no-debug.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[no_debug]` attribute was an experimental feature that has b error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-no_core.stderr b/src/test/ui/feature-gate-no_core.stderr index 7fc898520022e..5183856f6b96a 100644 --- a/src/test/ui/feature-gate-no_core.stderr +++ b/src/test/ui/feature-gate-no_core.stderr @@ -8,3 +8,4 @@ error[E0658]: no_core is experimental (see issue #29639) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-non_ascii_idents.stderr b/src/test/ui/feature-gate-non_ascii_idents.stderr index deb707752b066..e1b2e8abc44cd 100644 --- a/src/test/ui/feature-gate-non_ascii_idents.stderr +++ b/src/test/ui/feature-gate-non_ascii_idents.stderr @@ -110,3 +110,4 @@ error[E0658]: non-ascii idents are not fully supported. (see issue #28979) error: aborting due to 13 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-non_exhaustive.stderr b/src/test/ui/feature-gate-non_exhaustive.stderr index 320f40e31b814..307c79dde0495 100644 --- a/src/test/ui/feature-gate-non_exhaustive.stderr +++ b/src/test/ui/feature-gate-non_exhaustive.stderr @@ -8,3 +8,4 @@ error[E0658]: non exhaustive is an experimental feature (see issue #44109) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-omit-gdb-pretty-printer-section.stderr b/src/test/ui/feature-gate-omit-gdb-pretty-printer-section.stderr index 4ceb697d0df31..137369fb79a17 100644 --- a/src/test/ui/feature-gate-omit-gdb-pretty-printer-section.stderr +++ b/src/test/ui/feature-gate-omit-gdb-pretty-printer-section.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[omit_gdb_pretty_printer_section]` attribute is just used fo error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-on-unimplemented.stderr b/src/test/ui/feature-gate-on-unimplemented.stderr index b1658c3be1647..5924e80dcef24 100644 --- a/src/test/ui/feature-gate-on-unimplemented.stderr +++ b/src/test/ui/feature-gate-on-unimplemented.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[rustc_on_unimplemented]` attribute is an experimental featu error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-optin-builtin-traits.stderr b/src/test/ui/feature-gate-optin-builtin-traits.stderr index beb734a8ef871..3bc15decae36f 100644 --- a/src/test/ui/feature-gate-optin-builtin-traits.stderr +++ b/src/test/ui/feature-gate-optin-builtin-traits.stderr @@ -16,3 +16,4 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-overlapping_marker_traits.stderr b/src/test/ui/feature-gate-overlapping_marker_traits.stderr index c1725a62adaf4..cd66dd812e244 100644 --- a/src/test/ui/feature-gate-overlapping_marker_traits.stderr +++ b/src/test/ui/feature-gate-overlapping_marker_traits.stderr @@ -8,3 +8,4 @@ error[E0119]: conflicting implementations of trait `MyMarker`: error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0119" diff --git a/src/test/ui/feature-gate-placement-expr.stderr b/src/test/ui/feature-gate-placement-expr.stderr index c588cabe23993..20cdf786ecace 100644 --- a/src/test/ui/feature-gate-placement-expr.stderr +++ b/src/test/ui/feature-gate-placement-expr.stderr @@ -8,3 +8,4 @@ error[E0658]: placement-in expression syntax is experimental and subject to chan error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-plugin.stderr b/src/test/ui/feature-gate-plugin.stderr index b54b2d8999452..b15d2c36a608a 100644 --- a/src/test/ui/feature-gate-plugin.stderr +++ b/src/test/ui/feature-gate-plugin.stderr @@ -8,3 +8,4 @@ error[E0658]: compiler plugins are experimental and possibly buggy (see issue #2 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-plugin_registrar.stderr b/src/test/ui/feature-gate-plugin_registrar.stderr index fb5bd9d1afe8b..c612d1d90b495 100644 --- a/src/test/ui/feature-gate-plugin_registrar.stderr +++ b/src/test/ui/feature-gate-plugin_registrar.stderr @@ -8,3 +8,4 @@ error[E0658]: compiler plugins are experimental and possibly buggy (see issue #2 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-prelude_import.stderr b/src/test/ui/feature-gate-prelude_import.stderr index 5487ae21f3b89..e8845e87b5edd 100644 --- a/src/test/ui/feature-gate-prelude_import.stderr +++ b/src/test/ui/feature-gate-prelude_import.stderr @@ -8,3 +8,4 @@ error[E0658]: `#[prelude_import]` is for use by rustc only error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-profiler-runtime.stderr b/src/test/ui/feature-gate-profiler-runtime.stderr index f2893cbb97d6a..8998d742e031e 100644 --- a/src/test/ui/feature-gate-profiler-runtime.stderr +++ b/src/test/ui/feature-gate-profiler-runtime.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[profiler_runtime]` attribute is used to identify the `profi error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-repr-simd.stderr b/src/test/ui/feature-gate-repr-simd.stderr index e430a04a3e84d..5363b3874f830 100644 --- a/src/test/ui/feature-gate-repr-simd.stderr +++ b/src/test/ui/feature-gate-repr-simd.stderr @@ -8,3 +8,4 @@ error[E0658]: SIMD types are experimental and possibly buggy (see issue #27731) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-repr128.stderr b/src/test/ui/feature-gate-repr128.stderr index 982ebb0101662..20720a786d3d4 100644 --- a/src/test/ui/feature-gate-repr128.stderr +++ b/src/test/ui/feature-gate-repr128.stderr @@ -10,3 +10,4 @@ error[E0658]: repr with 128-bit type is unstable (see issue #35118) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-repr_transparent.stderr b/src/test/ui/feature-gate-repr_transparent.stderr index d1292e95491ab..29c6b3cf01771 100644 --- a/src/test/ui/feature-gate-repr_transparent.stderr +++ b/src/test/ui/feature-gate-repr_transparent.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[repr(transparent)]` attribute is experimental (see issue #4 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-rustc-attrs.stderr b/src/test/ui/feature-gate-rustc-attrs.stderr index f47588c3a7d63..9c7323ea45c8b 100644 --- a/src/test/ui/feature-gate-rustc-attrs.stderr +++ b/src/test/ui/feature-gate-rustc-attrs.stderr @@ -24,3 +24,4 @@ error[E0658]: unless otherwise specified, attributes with the prefix `rustc_` ar error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-rustc_const_unstable.stderr b/src/test/ui/feature-gate-rustc_const_unstable.stderr index 922898b7d36f0..781f621dfdb98 100644 --- a/src/test/ui/feature-gate-rustc_const_unstable.stderr +++ b/src/test/ui/feature-gate-rustc_const_unstable.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[rustc_const_unstable]` attribute is an internal feature error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-sanitizer-runtime.stderr b/src/test/ui/feature-gate-sanitizer-runtime.stderr index 6d77161864ff8..eadda45a1840d 100644 --- a/src/test/ui/feature-gate-sanitizer-runtime.stderr +++ b/src/test/ui/feature-gate-sanitizer-runtime.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[sanitizer_runtime]` attribute is used to identify crates th error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-simd.stderr b/src/test/ui/feature-gate-simd.stderr index 447706ab858c4..c923ae6e9a991 100644 --- a/src/test/ui/feature-gate-simd.stderr +++ b/src/test/ui/feature-gate-simd.stderr @@ -8,3 +8,4 @@ error[E0658]: SIMD types are experimental and possibly buggy (see issue #27731) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-slice-patterns.stderr b/src/test/ui/feature-gate-slice-patterns.stderr index 7a2e67c89821c..a7c275fe79367 100644 --- a/src/test/ui/feature-gate-slice-patterns.stderr +++ b/src/test/ui/feature-gate-slice-patterns.stderr @@ -8,3 +8,4 @@ error[E0658]: slice pattern syntax is experimental (see issue #23121) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-start.stderr b/src/test/ui/feature-gate-start.stderr index 61cbe42d0fb44..6e7a6741f5b0b 100644 --- a/src/test/ui/feature-gate-start.stderr +++ b/src/test/ui/feature-gate-start.stderr @@ -8,3 +8,4 @@ error[E0658]: a #[start] function is an experimental feature whose signature may error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-static-nobundle.stderr b/src/test/ui/feature-gate-static-nobundle.stderr index 9ec4f6480b1f4..855eacb63cacf 100644 --- a/src/test/ui/feature-gate-static-nobundle.stderr +++ b/src/test/ui/feature-gate-static-nobundle.stderr @@ -8,3 +8,4 @@ error[E0658]: kind="static-nobundle" is feature gated (see issue #37403) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-stmt_expr_attributes.stderr b/src/test/ui/feature-gate-stmt_expr_attributes.stderr index 4d2e2f671c51c..992772c911676 100644 --- a/src/test/ui/feature-gate-stmt_expr_attributes.stderr +++ b/src/test/ui/feature-gate-stmt_expr_attributes.stderr @@ -8,3 +8,4 @@ error[E0658]: attributes on non-item statements and expressions are experimental error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-target_feature.stderr b/src/test/ui/feature-gate-target_feature.stderr index b6ad1b65691ce..064c9f7e24736 100644 --- a/src/test/ui/feature-gate-target_feature.stderr +++ b/src/test/ui/feature-gate-target_feature.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[target_feature]` attribute is an experimental feature error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-thread_local.stderr b/src/test/ui/feature-gate-thread_local.stderr index f7b05d5cf2561..1846ebbb10653 100644 --- a/src/test/ui/feature-gate-thread_local.stderr +++ b/src/test/ui/feature-gate-thread_local.stderr @@ -8,3 +8,4 @@ error[E0658]: `#[thread_local]` is an experimental feature, and does not current error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-trace_macros.stderr b/src/test/ui/feature-gate-trace_macros.stderr index eae3baa7e4d23..2a126dde0bc61 100644 --- a/src/test/ui/feature-gate-trace_macros.stderr +++ b/src/test/ui/feature-gate-trace_macros.stderr @@ -8,3 +8,4 @@ error[E0658]: `trace_macros` is not stable enough for use and is subject to chan error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-type_ascription.stderr b/src/test/ui/feature-gate-type_ascription.stderr index fa6ef84a7f557..95da92acd8596 100644 --- a/src/test/ui/feature-gate-type_ascription.stderr +++ b/src/test/ui/feature-gate-type_ascription.stderr @@ -8,3 +8,4 @@ error[E0658]: type ascription is experimental (see issue #23416) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-unboxed-closures-manual-impls.stderr b/src/test/ui/feature-gate-unboxed-closures-manual-impls.stderr index ae14054b6e394..661be5b21ebad 100644 --- a/src/test/ui/feature-gate-unboxed-closures-manual-impls.stderr +++ b/src/test/ui/feature-gate-unboxed-closures-manual-impls.stderr @@ -32,3 +32,4 @@ error[E0658]: rust-call ABI is subject to change (see issue #29625) error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-unboxed-closures-method-calls.stderr b/src/test/ui/feature-gate-unboxed-closures-method-calls.stderr index a27b00aaac0fa..808b21f50fc5c 100644 --- a/src/test/ui/feature-gate-unboxed-closures-method-calls.stderr +++ b/src/test/ui/feature-gate-unboxed-closures-method-calls.stderr @@ -24,3 +24,4 @@ error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625) error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-unboxed-closures-ufcs-calls.stderr b/src/test/ui/feature-gate-unboxed-closures-ufcs-calls.stderr index 3d0dd15b07f6c..47441afbea7af 100644 --- a/src/test/ui/feature-gate-unboxed-closures-ufcs-calls.stderr +++ b/src/test/ui/feature-gate-unboxed-closures-ufcs-calls.stderr @@ -24,3 +24,4 @@ error[E0658]: use of unstable library feature 'fn_traits' (see issue #29625) error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-unboxed-closures.stderr b/src/test/ui/feature-gate-unboxed-closures.stderr index ca8a59249463d..18baf0450c35f 100644 --- a/src/test/ui/feature-gate-unboxed-closures.stderr +++ b/src/test/ui/feature-gate-unboxed-closures.stderr @@ -10,3 +10,4 @@ error[E0658]: rust-call ABI is subject to change (see issue #29625) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-underscore-lifetimes.stderr b/src/test/ui/feature-gate-underscore-lifetimes.stderr index 07c5e1ad640fa..6e5b0573f6cd4 100644 --- a/src/test/ui/feature-gate-underscore-lifetimes.stderr +++ b/src/test/ui/feature-gate-underscore-lifetimes.stderr @@ -8,3 +8,4 @@ error[E0658]: underscore lifetimes are unstable (see issue #44524) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-universal.stderr b/src/test/ui/feature-gate-universal.stderr index 978ce5982bad1..75820283cc78a 100644 --- a/src/test/ui/feature-gate-universal.stderr +++ b/src/test/ui/feature-gate-universal.stderr @@ -8,3 +8,4 @@ error[E0658]: `impl Trait` in argument position is experimental (see issue #3451 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-unsized_tuple_coercion.stderr b/src/test/ui/feature-gate-unsized_tuple_coercion.stderr index 4714df9e96cd2..51d68132ac4d1 100644 --- a/src/test/ui/feature-gate-unsized_tuple_coercion.stderr +++ b/src/test/ui/feature-gate-unsized_tuple_coercion.stderr @@ -8,3 +8,4 @@ error[E0658]: Unsized tuple coercion is not stable enough for use and is subject error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-untagged_unions.stderr b/src/test/ui/feature-gate-untagged_unions.stderr index 14b66cb5c815a..a1f8dcbb8bf5b 100644 --- a/src/test/ui/feature-gate-untagged_unions.stderr +++ b/src/test/ui/feature-gate-untagged_unions.stderr @@ -30,3 +30,4 @@ error[E0658]: unions with `Drop` implementations are unstable (see issue #32836) error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-unwind-attributes.stderr b/src/test/ui/feature-gate-unwind-attributes.stderr index d9b555e2634e8..0e122ea5d561b 100644 --- a/src/test/ui/feature-gate-unwind-attributes.stderr +++ b/src/test/ui/feature-gate-unwind-attributes.stderr @@ -8,3 +8,4 @@ error[E0658]: #[unwind] is experimental error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-used.stderr b/src/test/ui/feature-gate-used.stderr index 6d5ab1fd2c582..d263fe5ffbeb0 100644 --- a/src/test/ui/feature-gate-used.stderr +++ b/src/test/ui/feature-gate-used.stderr @@ -8,3 +8,4 @@ error[E0658]: the `#[used]` attribute is an experimental feature (see issue #402 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate-wasm_import_memory.stderr b/src/test/ui/feature-gate-wasm_import_memory.stderr index 10190ef93f0d9..04350a145fd92 100644 --- a/src/test/ui/feature-gate-wasm_import_memory.stderr +++ b/src/test/ui/feature-gate-wasm_import_memory.stderr @@ -8,3 +8,4 @@ error[E0658]: wasm_import_memory attribute is currently unstable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-bench.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-bench.stderr index f7d5473f443fa..1d33bc5561139 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-bench.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-bench.stderr @@ -2,3 +2,4 @@ error[E0601]: main function not found error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0601" diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr index 444c4176994c5..8af406aef6de9 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-inline.stderr @@ -41,3 +41,5 @@ error[E0518]: attribute should be applied to function error: aborting due to 6 previous errors +You've got a few errors: E0518, E0601 +If you want more information on an error, try using "rustc --explain E0518" diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-macro_escape.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-macro_escape.stderr index 60a9382bdb8b1..c0d8aa5c31c6a 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-macro_escape.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-macro_escape.stderr @@ -10,3 +10,4 @@ error[E0601]: main function not found error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0601" diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-proc_macro_derive.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-proc_macro_derive.stderr index a76f0219f7a81..4e844ba58895c 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-proc_macro_derive.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-proc_macro_derive.stderr @@ -38,3 +38,4 @@ error[E0601]: main function not found error: aborting due to 7 previous errors +If you want more information on this error, try using "rustc --explain E0601" diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-rustc_deprecated.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-rustc_deprecated.stderr index 5de3204f93182..a603836daa04d 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-rustc_deprecated.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-rustc_deprecated.stderr @@ -44,3 +44,4 @@ error: stability attributes may not be used outside of the standard library error: aborting due to 8 previous errors +If you want more information on this error, try using "rustc --explain E0601" diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-stable.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-stable.stderr index eace1dc413a6b..ebf7100c35ba1 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-stable.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-stable.stderr @@ -44,3 +44,4 @@ error: stability attributes may not be used outside of the standard library error: aborting due to 8 previous errors +If you want more information on this error, try using "rustc --explain E0601" diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-test.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-test.stderr index f7d5473f443fa..1d33bc5561139 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-test.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-test.stderr @@ -2,3 +2,4 @@ error[E0601]: main function not found error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0601" diff --git a/src/test/ui/feature-gate/issue-43106-gating-of-unstable.stderr b/src/test/ui/feature-gate/issue-43106-gating-of-unstable.stderr index 59068279fde19..c91b262c7edab 100644 --- a/src/test/ui/feature-gate/issue-43106-gating-of-unstable.stderr +++ b/src/test/ui/feature-gate/issue-43106-gating-of-unstable.stderr @@ -44,3 +44,4 @@ error: stability attributes may not be used outside of the standard library error: aborting due to 8 previous errors +If you want more information on this error, try using "rustc --explain E0601" diff --git a/src/test/ui/fmt/send-sync.stderr b/src/test/ui/fmt/send-sync.stderr index 4ec5c9ebd2712..7e2b6a43dd46e 100644 --- a/src/test/ui/fmt/send-sync.stderr +++ b/src/test/ui/fmt/send-sync.stderr @@ -40,3 +40,4 @@ note: required by `sync` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/generator/auto-trait-regions.stderr b/src/test/ui/generator/auto-trait-regions.stderr index 37241e615101d..2fc359946fa99 100644 --- a/src/test/ui/generator/auto-trait-regions.stderr +++ b/src/test/ui/generator/auto-trait-regions.stderr @@ -33,3 +33,5 @@ note: required by `assert_foo` error: aborting due to 2 previous errors +You've got a few errors: E0277, E0279 +If you want more information on an error, try using "rustc --explain E0277" diff --git a/src/test/ui/generator/borrowing.stderr b/src/test/ui/generator/borrowing.stderr index cb84eaedb3354..1d58bca15fa32 100644 --- a/src/test/ui/generator/borrowing.stderr +++ b/src/test/ui/generator/borrowing.stderr @@ -27,3 +27,4 @@ error[E0597]: `a` does not live long enough error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0597" diff --git a/src/test/ui/generator/dropck.stderr b/src/test/ui/generator/dropck.stderr index deaf00fff071e..01ef575342456 100644 --- a/src/test/ui/generator/dropck.stderr +++ b/src/test/ui/generator/dropck.stderr @@ -14,3 +14,4 @@ error[E0597]: `ref_` does not live long enough error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0597" diff --git a/src/test/ui/generator/generator-with-nll.stderr b/src/test/ui/generator/generator-with-nll.stderr index 0f7d2e540d80a..ab81501f2374b 100644 --- a/src/test/ui/generator/generator-with-nll.stderr +++ b/src/test/ui/generator/generator-with-nll.stderr @@ -27,3 +27,4 @@ error[E0626]: borrow may still be in use when generator yields (Mir) error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0626" diff --git a/src/test/ui/generator/issue-48048.stderr b/src/test/ui/generator/issue-48048.stderr index fd1667128ab60..04e4397cc5c95 100644 --- a/src/test/ui/generator/issue-48048.stderr +++ b/src/test/ui/generator/issue-48048.stderr @@ -8,3 +8,4 @@ error[E0626]: borrow may still be in use when generator yields error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0626" diff --git a/src/test/ui/generator/no-arguments-on-generators.stderr b/src/test/ui/generator/no-arguments-on-generators.stderr index 4d2e228685ae3..84a5edf4f2245 100644 --- a/src/test/ui/generator/no-arguments-on-generators.stderr +++ b/src/test/ui/generator/no-arguments-on-generators.stderr @@ -6,3 +6,4 @@ error[E0628]: generators cannot have explicit arguments error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0628" diff --git a/src/test/ui/generator/not-send-sync.stderr b/src/test/ui/generator/not-send-sync.stderr index e65c8f1546e82..cd2d16fd66213 100644 --- a/src/test/ui/generator/not-send-sync.stderr +++ b/src/test/ui/generator/not-send-sync.stderr @@ -30,3 +30,4 @@ note: required by `main::assert_sync` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/generator/pattern-borrow.stderr b/src/test/ui/generator/pattern-borrow.stderr index 6b39b272d0e42..2346714b21240 100644 --- a/src/test/ui/generator/pattern-borrow.stderr +++ b/src/test/ui/generator/pattern-borrow.stderr @@ -8,3 +8,4 @@ error[E0626]: borrow may still be in use when generator yields error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0626" diff --git a/src/test/ui/generator/ref-escapes-but-not-over-yield.stderr b/src/test/ui/generator/ref-escapes-but-not-over-yield.stderr index fbb72884156ba..b752a4c064c6e 100644 --- a/src/test/ui/generator/ref-escapes-but-not-over-yield.stderr +++ b/src/test/ui/generator/ref-escapes-but-not-over-yield.stderr @@ -11,3 +11,4 @@ error[E0597]: `b` does not live long enough error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0597" diff --git a/src/test/ui/generator/sized-yield.stderr b/src/test/ui/generator/sized-yield.stderr index 7adb2cc5598dc..a61adcf4a770b 100644 --- a/src/test/ui/generator/sized-yield.stderr +++ b/src/test/ui/generator/sized-yield.stderr @@ -20,3 +20,4 @@ error[E0277]: the trait bound `str: std::marker::Sized` is not satisfied error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/generator/unsafe-immovable.stderr b/src/test/ui/generator/unsafe-immovable.stderr index 06e43bf35e1fa..87a85c6845f74 100644 --- a/src/test/ui/generator/unsafe-immovable.stderr +++ b/src/test/ui/generator/unsafe-immovable.stderr @@ -8,3 +8,4 @@ error[E0133]: construction of immovable generator requires unsafe function or bl error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0133" diff --git a/src/test/ui/generator/yield-in-args.stderr b/src/test/ui/generator/yield-in-args.stderr index 06561853dee8c..f69948c900400 100644 --- a/src/test/ui/generator/yield-in-args.stderr +++ b/src/test/ui/generator/yield-in-args.stderr @@ -6,3 +6,4 @@ error[E0626]: borrow may still be in use when generator yields error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0626" diff --git a/src/test/ui/generator/yield-in-const.stderr b/src/test/ui/generator/yield-in-const.stderr index 8a265c065b988..b7faca23ed37b 100644 --- a/src/test/ui/generator/yield-in-const.stderr +++ b/src/test/ui/generator/yield-in-const.stderr @@ -8,3 +8,5 @@ error[E0627]: yield statement outside of generator literal error: aborting due to 2 previous errors +You've got a few errors: E0601, E0627 +If you want more information on an error, try using "rustc --explain E0601" diff --git a/src/test/ui/generator/yield-in-function.stderr b/src/test/ui/generator/yield-in-function.stderr index c6ee3b8e9e7e1..3aa4130a1487e 100644 --- a/src/test/ui/generator/yield-in-function.stderr +++ b/src/test/ui/generator/yield-in-function.stderr @@ -6,3 +6,4 @@ error[E0627]: yield statement outside of generator literal error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0627" diff --git a/src/test/ui/generator/yield-in-static.stderr b/src/test/ui/generator/yield-in-static.stderr index d0575a0e47b3a..2f3c41f71c356 100644 --- a/src/test/ui/generator/yield-in-static.stderr +++ b/src/test/ui/generator/yield-in-static.stderr @@ -8,3 +8,5 @@ error[E0627]: yield statement outside of generator literal error: aborting due to 2 previous errors +You've got a few errors: E0601, E0627 +If you want more information on an error, try using "rustc --explain E0601" diff --git a/src/test/ui/generator/yield-while-iterating.stderr b/src/test/ui/generator/yield-while-iterating.stderr index ea55e032e4761..27a13a6382c9e 100644 --- a/src/test/ui/generator/yield-while-iterating.stderr +++ b/src/test/ui/generator/yield-while-iterating.stderr @@ -22,3 +22,5 @@ error[E0502]: cannot borrow `x` as immutable because it is also borrowed as muta error: aborting due to 2 previous errors +You've got a few errors: E0502, E0626 +If you want more information on an error, try using "rustc --explain E0502" diff --git a/src/test/ui/generator/yield-while-local-borrowed.stderr b/src/test/ui/generator/yield-while-local-borrowed.stderr index 114fe8ffcab0e..d28ea1d4368f4 100644 --- a/src/test/ui/generator/yield-while-local-borrowed.stderr +++ b/src/test/ui/generator/yield-while-local-borrowed.stderr @@ -36,3 +36,4 @@ error[E0626]: borrow may still be in use when generator yields (Mir) error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0626" diff --git a/src/test/ui/generator/yield-while-ref-reborrowed.stderr b/src/test/ui/generator/yield-while-ref-reborrowed.stderr index 7269f72973701..d2aa84f3c0985 100644 --- a/src/test/ui/generator/yield-while-ref-reborrowed.stderr +++ b/src/test/ui/generator/yield-while-ref-reborrowed.stderr @@ -14,3 +14,4 @@ error[E0501]: cannot borrow `x` as immutable because previous closure requires u error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0501" diff --git a/src/test/ui/generic-type-less-params-with-defaults.stderr b/src/test/ui/generic-type-less-params-with-defaults.stderr index 0351923eff651..6726f40dd06b1 100644 --- a/src/test/ui/generic-type-less-params-with-defaults.stderr +++ b/src/test/ui/generic-type-less-params-with-defaults.stderr @@ -6,3 +6,4 @@ error[E0243]: wrong number of type arguments: expected at least 1, found 0 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0243" diff --git a/src/test/ui/generic-type-more-params-with-defaults.stderr b/src/test/ui/generic-type-more-params-with-defaults.stderr index 11ce6b1656ded..aa06e82a25055 100644 --- a/src/test/ui/generic-type-more-params-with-defaults.stderr +++ b/src/test/ui/generic-type-more-params-with-defaults.stderr @@ -6,3 +6,4 @@ error[E0244]: wrong number of type arguments: expected at most 2, found 3 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0244" diff --git a/src/test/ui/if-let-arm-types.stderr b/src/test/ui/if-let-arm-types.stderr index fb8e00bfa94ea..fb1cf205b62de 100644 --- a/src/test/ui/if-let-arm-types.stderr +++ b/src/test/ui/if-let-arm-types.stderr @@ -23,3 +23,4 @@ note: `if let` arm with an incompatible type error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/impl-duplicate-methods.stderr b/src/test/ui/impl-duplicate-methods.stderr index 73d470cc29e56..53bc268e327dd 100644 --- a/src/test/ui/impl-duplicate-methods.stderr +++ b/src/test/ui/impl-duplicate-methods.stderr @@ -8,3 +8,4 @@ error[E0201]: duplicate definitions with name `orange`: error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0201" diff --git a/src/test/ui/impl-trait/auto-trait-leak.stderr b/src/test/ui/impl-trait/auto-trait-leak.stderr index d6e31ba1e1f9c..f69840238a718 100644 --- a/src/test/ui/impl-trait/auto-trait-leak.stderr +++ b/src/test/ui/impl-trait/auto-trait-leak.stderr @@ -58,3 +58,5 @@ note: ...which then requires processing `cycle1::{{impl-Trait}}`... error: aborting due to 3 previous errors +You've got a few errors: E0277, E0391 +If you want more information on an error, try using "rustc --explain E0277" diff --git a/src/test/ui/impl-trait/equality.stderr b/src/test/ui/impl-trait/equality.stderr index 8ec819038031b..c30b0d7f6483f 100644 --- a/src/test/ui/impl-trait/equality.stderr +++ b/src/test/ui/impl-trait/equality.stderr @@ -53,3 +53,5 @@ error[E0308]: mismatched types error: aborting due to 6 previous errors +You've got a few errors: E0277, E0308 +If you want more information on an error, try using "rustc --explain E0277" diff --git a/src/test/ui/impl-trait/impl-trait-plus-priority.stderr b/src/test/ui/impl-trait/impl-trait-plus-priority.stderr index 885c3941971bd..7010ab1e47151 100644 --- a/src/test/ui/impl-trait/impl-trait-plus-priority.stderr +++ b/src/test/ui/impl-trait/impl-trait-plus-priority.stderr @@ -66,3 +66,4 @@ error[E0178]: expected a path on the left-hand side of `+`, not `&A` error: aborting due to 11 previous errors +If you want more information on this error, try using "rustc --explain E0178" diff --git a/src/test/ui/impl-trait/issue-21659-show-relevant-trait-impls-3.stderr b/src/test/ui/impl-trait/issue-21659-show-relevant-trait-impls-3.stderr index 297694568493d..d5cc1ea8085b0 100644 --- a/src/test/ui/impl-trait/issue-21659-show-relevant-trait-impls-3.stderr +++ b/src/test/ui/impl-trait/issue-21659-show-relevant-trait-impls-3.stderr @@ -13,3 +13,4 @@ error[E0599]: no method named `foo` found for type `Bar` in the current scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/impl-trait/method-suggestion-no-duplication.stderr b/src/test/ui/impl-trait/method-suggestion-no-duplication.stderr index 52d3931011a77..8ffbd29eabe37 100644 --- a/src/test/ui/impl-trait/method-suggestion-no-duplication.stderr +++ b/src/test/ui/impl-trait/method-suggestion-no-duplication.stderr @@ -15,3 +15,4 @@ error[E0599]: no method named `is_empty` found for type `Foo` in the current sco error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/impl-trait/no-method-suggested-traits.stderr b/src/test/ui/impl-trait/no-method-suggested-traits.stderr index 882113b8176ea..f136fd4072c68 100644 --- a/src/test/ui/impl-trait/no-method-suggested-traits.stderr +++ b/src/test/ui/impl-trait/no-method-suggested-traits.stderr @@ -255,3 +255,4 @@ error[E0599]: no method named `method3` found for type `std::rc::Rc<&mut std::bo error: aborting due to 24 previous errors +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/impl-trait/trait_type.stderr b/src/test/ui/impl-trait/trait_type.stderr index 1417c71ca1244..134386825d69d 100644 --- a/src/test/ui/impl-trait/trait_type.stderr +++ b/src/test/ui/impl-trait/trait_type.stderr @@ -33,3 +33,5 @@ error[E0046]: not all trait items implemented, missing: `fmt` error: aborting due to 4 previous errors +You've got a few errors: E0046, E0050, E0053, E0186 +If you want more information on an error, try using "rustc --explain E0046" diff --git a/src/test/ui/impl-trait/universal-mismatched-type.stderr b/src/test/ui/impl-trait/universal-mismatched-type.stderr index b4dd6c8446c59..688d0b3be44d8 100644 --- a/src/test/ui/impl-trait/universal-mismatched-type.stderr +++ b/src/test/ui/impl-trait/universal-mismatched-type.stderr @@ -11,3 +11,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/impl-trait/universal-two-impl-traits.stderr b/src/test/ui/impl-trait/universal-two-impl-traits.stderr index 9903e26bbbd0b..ab41e44cdea0e 100644 --- a/src/test/ui/impl-trait/universal-two-impl-traits.stderr +++ b/src/test/ui/impl-trait/universal-two-impl-traits.stderr @@ -9,3 +9,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/impl-trait/universal_wrong_bounds.stderr b/src/test/ui/impl-trait/universal_wrong_bounds.stderr index b457e025c29ff..d3ae05eb4e5dd 100644 --- a/src/test/ui/impl-trait/universal_wrong_bounds.stderr +++ b/src/test/ui/impl-trait/universal_wrong_bounds.stderr @@ -26,3 +26,5 @@ help: possible candidate is found in another module, you can import it into scop error: cannot continue compilation due to previous error +You've got a few errors: E0405, E0425 +If you want more information on an error, try using "rustc --explain E0405" diff --git a/src/test/ui/impl-unused-rps-in-assoc-type.stderr b/src/test/ui/impl-unused-rps-in-assoc-type.stderr index ec261ed63b1e8..d8e31a750ffe9 100644 --- a/src/test/ui/impl-unused-rps-in-assoc-type.stderr +++ b/src/test/ui/impl-unused-rps-in-assoc-type.stderr @@ -6,3 +6,4 @@ error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0207" diff --git a/src/test/ui/imports/duplicate.stderr b/src/test/ui/imports/duplicate.stderr index 6e5b91a11c900..707f0081cd643 100644 --- a/src/test/ui/imports/duplicate.stderr +++ b/src/test/ui/imports/duplicate.stderr @@ -86,3 +86,5 @@ note: `foo` could also refer to the name imported here error: aborting due to 5 previous errors +You've got a few errors: E0252, E0659 +If you want more information on an error, try using "rustc --explain E0252" diff --git a/src/test/ui/imports/macro-paths.stderr b/src/test/ui/imports/macro-paths.stderr index 32d78666004c4..02e7e34d32e90 100644 --- a/src/test/ui/imports/macro-paths.stderr +++ b/src/test/ui/imports/macro-paths.stderr @@ -40,3 +40,5 @@ error[E0601]: main function not found error: aborting due to 3 previous errors +You've got a few errors: E0601, E0659 +If you want more information on an error, try using "rustc --explain E0601" diff --git a/src/test/ui/imports/macros.stderr b/src/test/ui/imports/macros.stderr index 75294f7bf1256..6b917b9806299 100644 --- a/src/test/ui/imports/macros.stderr +++ b/src/test/ui/imports/macros.stderr @@ -55,3 +55,5 @@ error[E0601]: main function not found error: aborting due to 4 previous errors +You've got a few errors: E0601, E0659 +If you want more information on an error, try using "rustc --explain E0601" diff --git a/src/test/ui/imports/shadow_builtin_macros.stderr b/src/test/ui/imports/shadow_builtin_macros.stderr index 8f4325fa12c72..709a36dab291d 100644 --- a/src/test/ui/imports/shadow_builtin_macros.stderr +++ b/src/test/ui/imports/shadow_builtin_macros.stderr @@ -57,3 +57,4 @@ note: `n` could also refer to the name imported here error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0659" diff --git a/src/test/ui/impossible_range.stderr b/src/test/ui/impossible_range.stderr index e0e26bc4db040..9b3a8e7f6c3f3 100644 --- a/src/test/ui/impossible_range.stderr +++ b/src/test/ui/impossible_range.stderr @@ -16,3 +16,4 @@ error[E0586]: inclusive range with no end error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0586" diff --git a/src/test/ui/in-band-lifetimes/E0687.stderr b/src/test/ui/in-band-lifetimes/E0687.stderr index 42714f21685f9..66451f49f28b7 100644 --- a/src/test/ui/in-band-lifetimes/E0687.stderr +++ b/src/test/ui/in-band-lifetimes/E0687.stderr @@ -24,3 +24,4 @@ error[E0687]: lifetimes used in `fn` or `Fn` syntax must be explicitly declared error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0687" diff --git a/src/test/ui/in-band-lifetimes/E0687_where.stderr b/src/test/ui/in-band-lifetimes/E0687_where.stderr index a9913f6b64464..0a63092acf71b 100644 --- a/src/test/ui/in-band-lifetimes/E0687_where.stderr +++ b/src/test/ui/in-band-lifetimes/E0687_where.stderr @@ -12,3 +12,4 @@ error[E0687]: lifetimes used in `fn` or `Fn` syntax must be explicitly declared error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0687" diff --git a/src/test/ui/in-band-lifetimes/E0688.stderr b/src/test/ui/in-band-lifetimes/E0688.stderr index c33b088f0faab..0e4e75469a960 100644 --- a/src/test/ui/in-band-lifetimes/E0688.stderr +++ b/src/test/ui/in-band-lifetimes/E0688.stderr @@ -24,3 +24,4 @@ error[E0688]: cannot mix in-band and explicit lifetime definitions error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0688" diff --git a/src/test/ui/in-band-lifetimes/mismatched.stderr b/src/test/ui/in-band-lifetimes/mismatched.stderr index 0c1231e01de6e..b81b5f56f145d 100644 --- a/src/test/ui/in-band-lifetimes/mismatched.stderr +++ b/src/test/ui/in-band-lifetimes/mismatched.stderr @@ -16,3 +16,5 @@ error[E0623]: lifetime mismatch error: aborting due to 2 previous errors +You've got a few errors: E0621, E0623 +If you want more information on an error, try using "rustc --explain E0621" diff --git a/src/test/ui/in-band-lifetimes/mismatched_trait.stderr b/src/test/ui/in-band-lifetimes/mismatched_trait.stderr index 58ff1694fb74c..8e5a37b03c510 100644 --- a/src/test/ui/in-band-lifetimes/mismatched_trait.stderr +++ b/src/test/ui/in-band-lifetimes/mismatched_trait.stderr @@ -8,3 +8,4 @@ error[E0621]: explicit lifetime required in the type of `y` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0621" diff --git a/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr b/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr index 7aab31eb909d0..0345e0dd6112a 100644 --- a/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr +++ b/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr @@ -20,3 +20,5 @@ note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on th error: aborting due to 2 previous errors +You've got a few errors: E0495, E0601 +If you want more information on an error, try using "rustc --explain E0495" diff --git a/src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr b/src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr index fd6be01da9f46..b970afe0baef9 100644 --- a/src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr +++ b/src/test/ui/in-band-lifetimes/mismatched_trait_impl.stderr @@ -22,3 +22,4 @@ note: ...but the lifetime must also be valid for the lifetime 'a as defined on t error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0495" diff --git a/src/test/ui/in-band-lifetimes/mut_while_borrow.stderr b/src/test/ui/in-band-lifetimes/mut_while_borrow.stderr index 14f9098c6c2f6..192eb5d3e8af1 100644 --- a/src/test/ui/in-band-lifetimes/mut_while_borrow.stderr +++ b/src/test/ui/in-band-lifetimes/mut_while_borrow.stderr @@ -8,3 +8,4 @@ error[E0506]: cannot assign to `p` because it is borrowed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0506" diff --git a/src/test/ui/in-band-lifetimes/no_in_band_in_struct.stderr b/src/test/ui/in-band-lifetimes/no_in_band_in_struct.stderr index a8df6dbca0a11..a9cc6845133ff 100644 --- a/src/test/ui/in-band-lifetimes/no_in_band_in_struct.stderr +++ b/src/test/ui/in-band-lifetimes/no_in_band_in_struct.stderr @@ -12,3 +12,4 @@ error[E0261]: use of undeclared lifetime name `'test` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0261" diff --git a/src/test/ui/in-band-lifetimes/no_introducing_in_band_in_locals.stderr b/src/test/ui/in-band-lifetimes/no_introducing_in_band_in_locals.stderr index e2340dbba23e1..265eb32b3cc76 100644 --- a/src/test/ui/in-band-lifetimes/no_introducing_in_band_in_locals.stderr +++ b/src/test/ui/in-band-lifetimes/no_introducing_in_band_in_locals.stderr @@ -12,3 +12,4 @@ error[E0261]: use of undeclared lifetime name `'test` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0261" diff --git a/src/test/ui/in-band-lifetimes/shadow.stderr b/src/test/ui/in-band-lifetimes/shadow.stderr index 49b82fa495a05..1aa3e21beba10 100644 --- a/src/test/ui/in-band-lifetimes/shadow.stderr +++ b/src/test/ui/in-band-lifetimes/shadow.stderr @@ -17,3 +17,4 @@ error[E0496]: lifetime name `'s` shadows a lifetime name that is already in scop error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0496" diff --git a/src/test/ui/index-help.stderr b/src/test/ui/index-help.stderr index e1652b6c262c7..d9ed32f6bb931 100644 --- a/src/test/ui/index-help.stderr +++ b/src/test/ui/index-help.stderr @@ -8,3 +8,4 @@ error[E0277]: the trait bound `std::vec::Vec<{integer}>: std::ops::Index` i error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/interior-mutability/interior-mutability.stderr b/src/test/ui/interior-mutability/interior-mutability.stderr index f4beb44b82dc7..78b790be87f4e 100644 --- a/src/test/ui/interior-mutability/interior-mutability.stderr +++ b/src/test/ui/interior-mutability/interior-mutability.stderr @@ -12,3 +12,4 @@ error[E0277]: the trait bound `std::cell::UnsafeCell: std::panic::RefUnwind error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/invalid-module-declaration/invalid-module-declaration.stderr b/src/test/ui/invalid-module-declaration/invalid-module-declaration.stderr index 58df416030c54..1fa998bef37b5 100644 --- a/src/test/ui/invalid-module-declaration/invalid-module-declaration.stderr +++ b/src/test/ui/invalid-module-declaration/invalid-module-declaration.stderr @@ -8,3 +8,4 @@ error[E0583]: file not found for module `baz` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0583" diff --git a/src/test/ui/invalid-path-in-const.stderr b/src/test/ui/invalid-path-in-const.stderr index be1de60bca559..5dbef279db4c2 100644 --- a/src/test/ui/invalid-path-in-const.stderr +++ b/src/test/ui/invalid-path-in-const.stderr @@ -6,3 +6,4 @@ error[E0599]: no associated item named `DOESNOTEXIST` found for type `u32` in th error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/issue-10969.stderr b/src/test/ui/issue-10969.stderr index 68127b282ed54..24ca8c0c43799 100644 --- a/src/test/ui/issue-10969.stderr +++ b/src/test/ui/issue-10969.stderr @@ -16,3 +16,4 @@ error[E0618]: expected function, found `i32` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0618" diff --git a/src/test/ui/issue-11004.stderr b/src/test/ui/issue-11004.stderr index 9b8c3df7d59c4..ce243b6963f74 100644 --- a/src/test/ui/issue-11004.stderr +++ b/src/test/ui/issue-11004.stderr @@ -16,3 +16,4 @@ error[E0609]: no field `y` on type `*mut A` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0609" diff --git a/src/test/ui/issue-11319.stderr b/src/test/ui/issue-11319.stderr index 20103d389ffb0..2ab61bf90db5f 100644 --- a/src/test/ui/issue-11319.stderr +++ b/src/test/ui/issue-11319.stderr @@ -17,3 +17,4 @@ error[E0308]: match arms have incompatible types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/issue-12187-1.stderr b/src/test/ui/issue-12187-1.stderr index e36c278df6e41..9ce8b066b3755 100644 --- a/src/test/ui/issue-12187-1.stderr +++ b/src/test/ui/issue-12187-1.stderr @@ -9,3 +9,4 @@ error[E0282]: type annotations needed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0282" diff --git a/src/test/ui/issue-12187-2.stderr b/src/test/ui/issue-12187-2.stderr index b72c23987ec3c..46add9bec2c22 100644 --- a/src/test/ui/issue-12187-2.stderr +++ b/src/test/ui/issue-12187-2.stderr @@ -9,3 +9,4 @@ error[E0282]: type annotations needed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0282" diff --git a/src/test/ui/issue-12511.stderr b/src/test/ui/issue-12511.stderr index aec828a90d1a7..932fd5a82ddba 100644 --- a/src/test/ui/issue-12511.stderr +++ b/src/test/ui/issue-12511.stderr @@ -18,3 +18,4 @@ note: ...which then requires computing the supertraits of `t2`... error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0391" diff --git a/src/test/ui/issue-13058.stderr b/src/test/ui/issue-13058.stderr index fb8fb058daa26..fb73fbcd007ca 100644 --- a/src/test/ui/issue-13058.stderr +++ b/src/test/ui/issue-13058.stderr @@ -21,3 +21,5 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +You've got a few errors: E0308, E0621 +If you want more information on an error, try using "rustc --explain E0308" diff --git a/src/test/ui/issue-14092.stderr b/src/test/ui/issue-14092.stderr index e0b5bdb93d80e..b500e706b3627 100644 --- a/src/test/ui/issue-14092.stderr +++ b/src/test/ui/issue-14092.stderr @@ -6,3 +6,4 @@ error[E0243]: wrong number of type arguments: expected 1, found 0 error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0243" diff --git a/src/test/ui/issue-15260.stderr b/src/test/ui/issue-15260.stderr index aca2fa5ed0413..1d41e207147c4 100644 --- a/src/test/ui/issue-15260.stderr +++ b/src/test/ui/issue-15260.stderr @@ -33,3 +33,4 @@ error[E0025]: field `a` bound multiple times in the pattern error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0025" diff --git a/src/test/ui/issue-15524.stderr b/src/test/ui/issue-15524.stderr index 9c77752be2022..ccbcda57db14c 100644 --- a/src/test/ui/issue-15524.stderr +++ b/src/test/ui/issue-15524.stderr @@ -26,3 +26,4 @@ error[E0081]: discriminant value `1isize` already exists error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0081" diff --git a/src/test/ui/issue-17263.stderr b/src/test/ui/issue-17263.stderr index a762c0876b55a..306c713da4403 100644 --- a/src/test/ui/issue-17263.stderr +++ b/src/test/ui/issue-17263.stderr @@ -22,3 +22,5 @@ error[E0502]: cannot borrow `foo` (via `foo.b`) as immutable because `foo` is al error: aborting due to 2 previous errors +You've got a few errors: E0499, E0502 +If you want more information on an error, try using "rustc --explain E0499" diff --git a/src/test/ui/issue-17441.stderr b/src/test/ui/issue-17441.stderr index 593507a5d4510..244da658f8044 100644 --- a/src/test/ui/issue-17441.stderr +++ b/src/test/ui/issue-17441.stderr @@ -44,3 +44,4 @@ help: consider using a box or reference as appropriate error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0620" diff --git a/src/test/ui/issue-18183.stderr b/src/test/ui/issue-18183.stderr index 3105080226110..cb8a9608075fa 100644 --- a/src/test/ui/issue-18183.stderr +++ b/src/test/ui/issue-18183.stderr @@ -6,3 +6,4 @@ error[E0128]: type parameters with a default cannot use forward declared identif error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0128" diff --git a/src/test/ui/issue-18819.stderr b/src/test/ui/issue-18819.stderr index 1cd899925caa5..d2f3219b23324 100644 --- a/src/test/ui/issue-18819.stderr +++ b/src/test/ui/issue-18819.stderr @@ -9,3 +9,4 @@ error[E0061]: this function takes 2 parameters but 1 parameter was supplied error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0061" diff --git a/src/test/ui/issue-19498.stderr b/src/test/ui/issue-19498.stderr index 489abf715ded9..7c3f0aad4f654 100644 --- a/src/test/ui/issue-19498.stderr +++ b/src/test/ui/issue-19498.stderr @@ -44,3 +44,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0255" diff --git a/src/test/ui/issue-19707.stderr b/src/test/ui/issue-19707.stderr index b4d4f6f1bbf8b..42f768139b10a 100644 --- a/src/test/ui/issue-19707.stderr +++ b/src/test/ui/issue-19707.stderr @@ -16,3 +16,4 @@ error[E0106]: missing lifetime specifier error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0106" diff --git a/src/test/ui/issue-19922.stderr b/src/test/ui/issue-19922.stderr index f96392441967f..f68709b540983 100644 --- a/src/test/ui/issue-19922.stderr +++ b/src/test/ui/issue-19922.stderr @@ -8,3 +8,4 @@ error[E0559]: variant `Homura::Akemi` has no field named `kaname` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0559" diff --git a/src/test/ui/issue-20692.stderr b/src/test/ui/issue-20692.stderr index 2a5ddd1b6118f..e0dc9560462bc 100644 --- a/src/test/ui/issue-20692.stderr +++ b/src/test/ui/issue-20692.stderr @@ -17,3 +17,4 @@ error[E0038]: the trait `Array` cannot be made into an object error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/issue-21546.stderr b/src/test/ui/issue-21546.stderr index ec953103a1c57..1be006865b0bf 100644 --- a/src/test/ui/issue-21546.stderr +++ b/src/test/ui/issue-21546.stderr @@ -66,3 +66,4 @@ error[E0428]: the name `Corge` is defined multiple times error: aborting due to 6 previous errors +If you want more information on this error, try using "rustc --explain E0428" diff --git a/src/test/ui/issue-21600.stderr b/src/test/ui/issue-21600.stderr index e177e8ede6263..fab7d8698ca1e 100644 --- a/src/test/ui/issue-21600.stderr +++ b/src/test/ui/issue-21600.stderr @@ -29,3 +29,4 @@ help: consider changing this closure to take self by mutable reference error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0387" diff --git a/src/test/ui/issue-21950.stderr b/src/test/ui/issue-21950.stderr index 123d61a261db1..9bf44df608a4c 100644 --- a/src/test/ui/issue-21950.stderr +++ b/src/test/ui/issue-21950.stderr @@ -14,3 +14,5 @@ error[E0191]: the value of the associated type `Output` (from the trait `std::op error: aborting due to 2 previous errors +You've got a few errors: E0191, E0393 +If you want more information on an error, try using "rustc --explain E0191" diff --git a/src/test/ui/issue-22370.stderr b/src/test/ui/issue-22370.stderr index 9498000ca56eb..70e17bdd06379 100644 --- a/src/test/ui/issue-22370.stderr +++ b/src/test/ui/issue-22370.stderr @@ -8,3 +8,4 @@ error[E0393]: the type parameter `T` must be explicitly specified error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0393" diff --git a/src/test/ui/issue-22560.stderr b/src/test/ui/issue-22560.stderr index 1c594cb6cb858..1e3685403f501 100644 --- a/src/test/ui/issue-22560.stderr +++ b/src/test/ui/issue-22560.stderr @@ -32,3 +32,5 @@ error[E0191]: the value of the associated type `Output` (from the trait `std::op error: aborting due to 4 previous errors +You've got a few errors: E0191, E0225, E0393 +If you want more information on an error, try using "rustc --explain E0191" diff --git a/src/test/ui/issue-22886.stderr b/src/test/ui/issue-22886.stderr index 23d05edc919b3..f884c80ccaee4 100644 --- a/src/test/ui/issue-22886.stderr +++ b/src/test/ui/issue-22886.stderr @@ -6,3 +6,4 @@ error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0207" diff --git a/src/test/ui/issue-22933-2.stderr b/src/test/ui/issue-22933-2.stderr index 8853d43408c00..5b87b95b81aec 100644 --- a/src/test/ui/issue-22933-2.stderr +++ b/src/test/ui/issue-22933-2.stderr @@ -9,3 +9,4 @@ error[E0599]: no variant named `PIE` found for type `Delicious` in the current s error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/issue-23041.stderr b/src/test/ui/issue-23041.stderr index 048ae5834e3c4..7626324b2f2b5 100644 --- a/src/test/ui/issue-23041.stderr +++ b/src/test/ui/issue-23041.stderr @@ -6,3 +6,4 @@ error[E0282]: type annotations needed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0282" diff --git a/src/test/ui/issue-23173.stderr b/src/test/ui/issue-23173.stderr index 38a22257ff843..c84657b4c5991 100644 --- a/src/test/ui/issue-23173.stderr +++ b/src/test/ui/issue-23173.stderr @@ -36,3 +36,4 @@ error[E0599]: no associated item named `Assoc` found for type `Struct` in the cu error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/issue-23217.stderr b/src/test/ui/issue-23217.stderr index eae6c2de9c565..638e783e067df 100644 --- a/src/test/ui/issue-23217.stderr +++ b/src/test/ui/issue-23217.stderr @@ -8,3 +8,4 @@ error[E0599]: no variant named `A` found for type `SomeEnum` in the current scop error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/issue-23543.stderr b/src/test/ui/issue-23543.stderr index e5181960753bd..e5ea6a5dd6fc4 100644 --- a/src/test/ui/issue-23543.stderr +++ b/src/test/ui/issue-23543.stderr @@ -6,3 +6,4 @@ error[E0229]: associated type bindings are not allowed here error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0229" diff --git a/src/test/ui/issue-23544.stderr b/src/test/ui/issue-23544.stderr index 496a7aff7b731..3687503795907 100644 --- a/src/test/ui/issue-23544.stderr +++ b/src/test/ui/issue-23544.stderr @@ -6,3 +6,4 @@ error[E0229]: associated type bindings are not allowed here error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0229" diff --git a/src/test/ui/issue-23716.stderr b/src/test/ui/issue-23716.stderr index 2db67c7ec00dd..9b2ab554794e1 100644 --- a/src/test/ui/issue-23716.stderr +++ b/src/test/ui/issue-23716.stderr @@ -18,3 +18,4 @@ error[E0530]: function parameters cannot shadow statics error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0530" diff --git a/src/test/ui/issue-24036.stderr b/src/test/ui/issue-24036.stderr index c89f7241f5b5a..893ff498513d1 100644 --- a/src/test/ui/issue-24036.stderr +++ b/src/test/ui/issue-24036.stderr @@ -29,3 +29,4 @@ error[E0308]: match arms have incompatible types error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/issue-24081.stderr b/src/test/ui/issue-24081.stderr index 969cf3577fbc2..9df8386e67189 100644 --- a/src/test/ui/issue-24081.stderr +++ b/src/test/ui/issue-24081.stderr @@ -75,3 +75,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to 5 previous errors +If you want more information on this error, try using "rustc --explain E0255" diff --git a/src/test/ui/issue-24424.stderr b/src/test/ui/issue-24424.stderr index 55af26dd91ea3..de1e30dc08b60 100644 --- a/src/test/ui/issue-24424.stderr +++ b/src/test/ui/issue-24424.stderr @@ -12,3 +12,4 @@ note: required by `Trait0` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0283" diff --git a/src/test/ui/issue-25385.stderr b/src/test/ui/issue-25385.stderr index 467cfc53388bc..e774f538a99eb 100644 --- a/src/test/ui/issue-25385.stderr +++ b/src/test/ui/issue-25385.stderr @@ -15,3 +15,4 @@ error[E0599]: no method named `foo` found for type `i32` in the current scope error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/issue-25793.stderr b/src/test/ui/issue-25793.stderr index 914cc6fc42677..bb7f58cf3cd5a 100644 --- a/src/test/ui/issue-25793.stderr +++ b/src/test/ui/issue-25793.stderr @@ -11,3 +11,4 @@ error[E0503]: cannot use `self.width` because it was mutably borrowed error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0503" diff --git a/src/test/ui/issue-25826.stderr b/src/test/ui/issue-25826.stderr index 3b6599ccbd6da..c617a1ce50713 100644 --- a/src/test/ui/issue-25826.stderr +++ b/src/test/ui/issue-25826.stderr @@ -6,3 +6,4 @@ error[E0395]: raw pointers cannot be compared in constants error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0395" diff --git a/src/test/ui/issue-26056.stderr b/src/test/ui/issue-26056.stderr index b95438314c398..8adb3570dfe93 100644 --- a/src/test/ui/issue-26056.stderr +++ b/src/test/ui/issue-26056.stderr @@ -8,3 +8,4 @@ error[E0038]: the trait `Map` cannot be made into an object error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/issue-26093.stderr b/src/test/ui/issue-26093.stderr index b850852623fd8..77565c3c057d2 100644 --- a/src/test/ui/issue-26093.stderr +++ b/src/test/ui/issue-26093.stderr @@ -9,3 +9,4 @@ error[E0070]: invalid left-hand side expression error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0070" diff --git a/src/test/ui/issue-26472.stderr b/src/test/ui/issue-26472.stderr index 5b61aa98c3f97..07a9b61fb7a96 100644 --- a/src/test/ui/issue-26472.stderr +++ b/src/test/ui/issue-26472.stderr @@ -8,3 +8,4 @@ error[E0616]: field `len` of struct `sub::S` is private error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0616" diff --git a/src/test/ui/issue-26638.stderr b/src/test/ui/issue-26638.stderr index 3b124ff406350..1d4fb6a3399ce 100644 --- a/src/test/ui/issue-26638.stderr +++ b/src/test/ui/issue-26638.stderr @@ -26,3 +26,4 @@ error[E0106]: missing lifetime specifier error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0106" diff --git a/src/test/ui/issue-26886.stderr b/src/test/ui/issue-26886.stderr index e6424e535ee32..842276453a435 100644 --- a/src/test/ui/issue-26886.stderr +++ b/src/test/ui/issue-26886.stderr @@ -29,3 +29,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0252" diff --git a/src/test/ui/issue-27842.stderr b/src/test/ui/issue-27842.stderr index 2e3b20e43ff04..0feb1fbfc374e 100644 --- a/src/test/ui/issue-27842.stderr +++ b/src/test/ui/issue-27842.stderr @@ -14,3 +14,4 @@ error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0608" diff --git a/src/test/ui/issue-27942.stderr b/src/test/ui/issue-27942.stderr index b24544743d87d..8958cf0139a49 100644 --- a/src/test/ui/issue-27942.stderr +++ b/src/test/ui/issue-27942.stderr @@ -38,3 +38,4 @@ note: ...does not necessarily outlive the anonymous lifetime #1 defined on the m error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/issue-2848.stderr b/src/test/ui/issue-2848.stderr index 6d4ed9c01111f..3b5eed4e7b877 100644 --- a/src/test/ui/issue-2848.stderr +++ b/src/test/ui/issue-2848.stderr @@ -8,3 +8,4 @@ error[E0408]: variable `beta` is not bound in all patterns error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0408" diff --git a/src/test/ui/issue-28568.stderr b/src/test/ui/issue-28568.stderr index 61717ee60ff30..d7e7c953c4bfb 100644 --- a/src/test/ui/issue-28568.stderr +++ b/src/test/ui/issue-28568.stderr @@ -9,3 +9,4 @@ error[E0119]: conflicting implementations of trait `std::ops::Drop` for type `My error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0119" diff --git a/src/test/ui/issue-28776.stderr b/src/test/ui/issue-28776.stderr index cf24a8312af9b..e6e88f300e5d4 100644 --- a/src/test/ui/issue-28776.stderr +++ b/src/test/ui/issue-28776.stderr @@ -6,3 +6,4 @@ error[E0133]: call to unsafe function requires unsafe function or block error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0133" diff --git a/src/test/ui/issue-28837.stderr b/src/test/ui/issue-28837.stderr index 8d9afb5be792a..6999a7450344b 100644 --- a/src/test/ui/issue-28837.stderr +++ b/src/test/ui/issue-28837.stderr @@ -120,3 +120,4 @@ error[E0369]: binary operation `>=` cannot be applied to type `A` error: aborting due to 15 previous errors +If you want more information on this error, try using "rustc --explain E0369" diff --git a/src/test/ui/issue-28971.stderr b/src/test/ui/issue-28971.stderr index 6237aae67be60..5b753e6f3858a 100644 --- a/src/test/ui/issue-28971.stderr +++ b/src/test/ui/issue-28971.stderr @@ -9,3 +9,4 @@ error[E0599]: no variant named `Baz` found for type `Foo` in the current scope error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/issue-29124.stderr b/src/test/ui/issue-29124.stderr index 0b81526d655e0..32e40787758d2 100644 --- a/src/test/ui/issue-29124.stderr +++ b/src/test/ui/issue-29124.stderr @@ -16,3 +16,4 @@ error[E0599]: no method named `x` found for type `fn() -> ret {func}` in the cur error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0599" diff --git a/src/test/ui/issue-29723.stderr b/src/test/ui/issue-29723.stderr index 061c3d493238b..9564e225f6423 100644 --- a/src/test/ui/issue-29723.stderr +++ b/src/test/ui/issue-29723.stderr @@ -11,3 +11,4 @@ error[E0382]: use of moved value: `s` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0382" diff --git a/src/test/ui/issue-3008-1.stderr b/src/test/ui/issue-3008-1.stderr index 7d8e10a760620..4f08077407376 100644 --- a/src/test/ui/issue-3008-1.stderr +++ b/src/test/ui/issue-3008-1.stderr @@ -11,3 +11,4 @@ error[E0072]: recursive type `Bar` has infinite size error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0072" diff --git a/src/test/ui/issue-3008-2.stderr b/src/test/ui/issue-3008-2.stderr index 2d5e2966df9c6..d5e21463b6078 100644 --- a/src/test/ui/issue-3008-2.stderr +++ b/src/test/ui/issue-3008-2.stderr @@ -10,3 +10,4 @@ error[E0072]: recursive type `bar` has infinite size error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0072" diff --git a/src/test/ui/issue-30255.stderr b/src/test/ui/issue-30255.stderr index b0c314912cca6..edd4549f09a82 100644 --- a/src/test/ui/issue-30255.stderr +++ b/src/test/ui/issue-30255.stderr @@ -24,3 +24,4 @@ error[E0106]: missing lifetime specifier error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0106" diff --git a/src/test/ui/issue-3044.stderr b/src/test/ui/issue-3044.stderr index 14f2d5195d60c..d6d37753c4d3f 100644 --- a/src/test/ui/issue-3044.stderr +++ b/src/test/ui/issue-3044.stderr @@ -6,3 +6,4 @@ error[E0061]: this function takes 2 parameters but 1 parameter was supplied error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0061" diff --git a/src/test/ui/issue-32326.stderr b/src/test/ui/issue-32326.stderr index f907e3adaf180..24eaf17e6a706 100644 --- a/src/test/ui/issue-32326.stderr +++ b/src/test/ui/issue-32326.stderr @@ -12,3 +12,4 @@ error[E0072]: recursive type `Expr` has infinite size error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0072" diff --git a/src/test/ui/issue-33525.stderr b/src/test/ui/issue-33525.stderr index 4909340fa4c35..dfb94fefda1a5 100644 --- a/src/test/ui/issue-33525.stderr +++ b/src/test/ui/issue-33525.stderr @@ -18,3 +18,5 @@ error[E0609]: no field `ipsum` on type `&'static str` error: aborting due to 3 previous errors +You've got a few errors: E0425, E0609 +If you want more information on an error, try using "rustc --explain E0425" diff --git a/src/test/ui/issue-33941.stderr b/src/test/ui/issue-33941.stderr index 78c9ce9a1b12a..c71f695612230 100644 --- a/src/test/ui/issue-33941.stderr +++ b/src/test/ui/issue-33941.stderr @@ -19,3 +19,4 @@ error[E0271]: type mismatch resolving `` does not outlive the data it error: aborting due to 7 previous errors +You've got a few errors: E0309, E0310 +If you want more information on an error, try using "rustc --explain E0309" diff --git a/src/test/ui/lint-forbid-attr.stderr b/src/test/ui/lint-forbid-attr.stderr index dcef7fb9ac038..a0e66611567cf 100644 --- a/src/test/ui/lint-forbid-attr.stderr +++ b/src/test/ui/lint-forbid-attr.stderr @@ -9,3 +9,4 @@ error[E0453]: allow(deprecated) overruled by outer forbid(deprecated) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0453" diff --git a/src/test/ui/lint/outer-forbid.stderr b/src/test/ui/lint/outer-forbid.stderr index 0bc4e4dcf5fd6..75ec71e729fb5 100644 --- a/src/test/ui/lint/outer-forbid.stderr +++ b/src/test/ui/lint/outer-forbid.stderr @@ -27,3 +27,4 @@ error[E0453]: allow(bad_style) overruled by outer forbid(non_snake_case) error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0453" diff --git a/src/test/ui/lint/use_suggestion_json.stderr b/src/test/ui/lint/use_suggestion_json.stderr index 86c2ad4c0e7a4..368b223722d26 100644 --- a/src/test/ui/lint/use_suggestion_json.stderr +++ b/src/test/ui/lint/use_suggestion_json.stderr @@ -384,6 +384,7 @@ help: possible candidates are found in other modules, you can import them into s | and 8 other candidates +If you want more information on this error, try using /"rustc --explain E0412/" " } { diff --git a/src/test/ui/liveness-return-last-stmt-semi.stderr b/src/test/ui/liveness-return-last-stmt-semi.stderr index 2057e14d55fd7..ede411188918c 100644 --- a/src/test/ui/liveness-return-last-stmt-semi.stderr +++ b/src/test/ui/liveness-return-last-stmt-semi.stderr @@ -49,3 +49,4 @@ error[E0308]: mismatched types error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/loop-break-value-no-repeat.stderr b/src/test/ui/loop-break-value-no-repeat.stderr index 982de00b4fa7c..427fade0ce020 100644 --- a/src/test/ui/loop-break-value-no-repeat.stderr +++ b/src/test/ui/loop-break-value-no-repeat.stderr @@ -10,3 +10,4 @@ help: instead, use `break` on its own without a value inside this `for` loop error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0571" diff --git a/src/test/ui/lub-glb/old-lub-glb-hr.stderr b/src/test/ui/lub-glb/old-lub-glb-hr.stderr index 105de33fac496..d308ae10f1441 100644 --- a/src/test/ui/lub-glb/old-lub-glb-hr.stderr +++ b/src/test/ui/lub-glb/old-lub-glb-hr.stderr @@ -16,3 +16,4 @@ error[E0308]: match arms have incompatible types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/lub-glb/old-lub-glb-object.stderr b/src/test/ui/lub-glb/old-lub-glb-object.stderr index 3550314d44b61..21e1d3a04a2c5 100644 --- a/src/test/ui/lub-glb/old-lub-glb-object.stderr +++ b/src/test/ui/lub-glb/old-lub-glb-object.stderr @@ -16,3 +16,4 @@ error[E0308]: match arms have incompatible types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/macros/macro-backtrace-invalid-internals.stderr b/src/test/ui/macros/macro-backtrace-invalid-internals.stderr index b9cad7e113dbf..b11a0b63bcb3c 100644 --- a/src/test/ui/macros/macro-backtrace-invalid-internals.stderr +++ b/src/test/ui/macros/macro-backtrace-invalid-internals.stderr @@ -80,3 +80,5 @@ help: you must specify a concrete type for this numeric value, like `f32` error: aborting due to 8 previous errors +You've got a few errors: E0599, E0609, E0610, E0689 +If you want more information on an error, try using "rustc --explain E0599" diff --git a/src/test/ui/macros/macro-backtrace-nested.stderr b/src/test/ui/macros/macro-backtrace-nested.stderr index ee4a38312e289..2d3ce35c65fad 100644 --- a/src/test/ui/macros/macro-backtrace-nested.stderr +++ b/src/test/ui/macros/macro-backtrace-nested.stderr @@ -18,3 +18,4 @@ error[E0425]: cannot find value `fake` in this scope error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0425" diff --git a/src/test/ui/macros/macro_path_as_generic_bound.stderr b/src/test/ui/macros/macro_path_as_generic_bound.stderr index d59bcaa316e5d..fc5e915d9b0e7 100644 --- a/src/test/ui/macros/macro_path_as_generic_bound.stderr +++ b/src/test/ui/macros/macro_path_as_generic_bound.stderr @@ -6,3 +6,4 @@ error[E0433]: failed to resolve. Use of undeclared type or module `m` error: cannot continue compilation due to previous error +If you want more information on this error, try using "rustc --explain E0433" diff --git a/src/test/ui/macros/span-covering-argument-1.stderr b/src/test/ui/macros/span-covering-argument-1.stderr index 677d2f10fd6c9..a35eb4e34ca22 100644 --- a/src/test/ui/macros/span-covering-argument-1.stderr +++ b/src/test/ui/macros/span-covering-argument-1.stderr @@ -11,3 +11,4 @@ error[E0596]: cannot borrow immutable local variable `foo` as mutable error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0596" diff --git a/src/test/ui/main-wrong-location.stderr b/src/test/ui/main-wrong-location.stderr index cb9740b87792f..7dadb495cf148 100644 --- a/src/test/ui/main-wrong-location.stderr +++ b/src/test/ui/main-wrong-location.stderr @@ -9,3 +9,4 @@ note: here is a function named 'main' error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0601" diff --git a/src/test/ui/method-call-err-msg.stderr b/src/test/ui/method-call-err-msg.stderr index f9524696ed724..7def583e92a4a 100644 --- a/src/test/ui/method-call-err-msg.stderr +++ b/src/test/ui/method-call-err-msg.stderr @@ -43,3 +43,5 @@ error[E0599]: no method named `take` found for type `Foo` in the current scope error: aborting due to 4 previous errors +You've got a few errors: E0061, E0599 +If you want more information on an error, try using "rustc --explain E0061" diff --git a/src/test/ui/method-missing-call.stderr b/src/test/ui/method-missing-call.stderr index d4cffbff4ef76..675855dcf3495 100644 --- a/src/test/ui/method-missing-call.stderr +++ b/src/test/ui/method-missing-call.stderr @@ -16,3 +16,4 @@ error[E0615]: attempted to take value of method `filter_map` on type `std::iter: error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0615" diff --git a/src/test/ui/mismatched_types/E0053.stderr b/src/test/ui/mismatched_types/E0053.stderr index 226cb473e7789..e63fd140f1119 100644 --- a/src/test/ui/mismatched_types/E0053.stderr +++ b/src/test/ui/mismatched_types/E0053.stderr @@ -24,3 +24,4 @@ error[E0053]: method `bar` has an incompatible type for trait error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0053" diff --git a/src/test/ui/mismatched_types/E0409.stderr b/src/test/ui/mismatched_types/E0409.stderr index cc7c01790706a..676a296661e31 100644 --- a/src/test/ui/mismatched_types/E0409.stderr +++ b/src/test/ui/mismatched_types/E0409.stderr @@ -17,3 +17,5 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +You've got a few errors: E0308, E0409 +If you want more information on an error, try using "rustc --explain E0308" diff --git a/src/test/ui/mismatched_types/E0631.stderr b/src/test/ui/mismatched_types/E0631.stderr index 53f2f54325d57..722c246f032d4 100644 --- a/src/test/ui/mismatched_types/E0631.stderr +++ b/src/test/ui/mismatched_types/E0631.stderr @@ -58,3 +58,4 @@ note: required by `bar` error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0631" diff --git a/src/test/ui/mismatched_types/abridged.stderr b/src/test/ui/mismatched_types/abridged.stderr index 2e1e5afad32c1..a52f2d3f6a157 100644 --- a/src/test/ui/mismatched_types/abridged.stderr +++ b/src/test/ui/mismatched_types/abridged.stderr @@ -68,3 +68,4 @@ error[E0308]: mismatched types error: aborting due to 6 previous errors +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/mismatched_types/binops.stderr b/src/test/ui/mismatched_types/binops.stderr index 828cf636951ed..7bc3e87809928 100644 --- a/src/test/ui/mismatched_types/binops.stderr +++ b/src/test/ui/mismatched_types/binops.stderr @@ -48,3 +48,4 @@ error[E0277]: the trait bound `{integer}: std::cmp::PartialEq::Item` may not liv error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/nll/ty-outlives/projection-one-region-closure.stderr b/src/test/ui/nll/ty-outlives/projection-one-region-closure.stderr index 946c1a8f37235..9b961a73e7342 100644 --- a/src/test/ui/nll/ty-outlives/projection-one-region-closure.stderr +++ b/src/test/ui/nll/ty-outlives/projection-one-region-closure.stderr @@ -198,3 +198,4 @@ note: No external requirements error: aborting due to 6 previous errors +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr b/src/test/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr index 78775ce94addd..aa7c5866ff1c6 100644 --- a/src/test/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr +++ b/src/test/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr @@ -330,3 +330,4 @@ note: No external requirements error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr b/src/test/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr index f68a76c3d0de5..a0e7e7720cf65 100644 --- a/src/test/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr +++ b/src/test/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr @@ -85,3 +85,4 @@ note: No external requirements error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr b/src/test/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr index b7120017a2c0e..3113046ef5e05 100644 --- a/src/test/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr +++ b/src/test/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr @@ -60,3 +60,4 @@ error[E0309]: the parameter type `T` may not live long enough error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr b/src/test/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr index ed4d4b1e68f7f..95a86ccae318e 100644 --- a/src/test/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr +++ b/src/test/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr @@ -193,3 +193,4 @@ note: No external requirements error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/nll/ty-outlives/ty-param-fn-body-nll-feature.stderr b/src/test/ui/nll/ty-outlives/ty-param-fn-body-nll-feature.stderr index fa9105df07027..3e2cab84b6225 100644 --- a/src/test/ui/nll/ty-outlives/ty-param-fn-body-nll-feature.stderr +++ b/src/test/ui/nll/ty-outlives/ty-param-fn-body-nll-feature.stderr @@ -8,3 +8,4 @@ error[E0309]: the parameter type `T` may not live long enough error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/nll/ty-outlives/ty-param-fn-body.stderr b/src/test/ui/nll/ty-outlives/ty-param-fn-body.stderr index 3334f4ecc7c86..cbfd2d412ef1d 100644 --- a/src/test/ui/nll/ty-outlives/ty-param-fn-body.stderr +++ b/src/test/ui/nll/ty-outlives/ty-param-fn-body.stderr @@ -14,3 +14,4 @@ error[E0309]: the parameter type `T` may not live long enough error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/nll/ty-outlives/ty-param-fn.stderr b/src/test/ui/nll/ty-outlives/ty-param-fn.stderr index 1e659e2e9f073..cf97c835013dc 100644 --- a/src/test/ui/nll/ty-outlives/ty-param-fn.stderr +++ b/src/test/ui/nll/ty-outlives/ty-param-fn.stderr @@ -28,3 +28,4 @@ error[E0309]: the parameter type `T` may not live long enough error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0309" diff --git a/src/test/ui/no-patterns-in-args.stderr b/src/test/ui/no-patterns-in-args.stderr index 0db9eb9ded3b2..bbf8e3b8a47dd 100644 --- a/src/test/ui/no-patterns-in-args.stderr +++ b/src/test/ui/no-patterns-in-args.stderr @@ -30,3 +30,5 @@ error[E0561]: patterns aren't allowed in function pointer types error: aborting due to 5 previous errors +You've got a few errors: E0130, E0561 +If you want more information on an error, try using "rustc --explain E0130" diff --git a/src/test/ui/non-constant-expr-for-arr-len.stderr b/src/test/ui/non-constant-expr-for-arr-len.stderr index be7e8583824a5..a3c3be65406ab 100644 --- a/src/test/ui/non-constant-expr-for-arr-len.stderr +++ b/src/test/ui/non-constant-expr-for-arr-len.stderr @@ -6,3 +6,4 @@ error[E0435]: attempt to use a non-constant value in a constant error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0435" diff --git a/src/test/ui/non-exhaustive-pattern-witness.stderr b/src/test/ui/non-exhaustive-pattern-witness.stderr index f012dfed0b852..f2d8737b5c0dc 100644 --- a/src/test/ui/non-exhaustive-pattern-witness.stderr +++ b/src/test/ui/non-exhaustive-pattern-witness.stderr @@ -42,3 +42,4 @@ error[E0004]: non-exhaustive patterns: `((), false)` not covered error: aborting due to 7 previous errors +If you want more information on this error, try using "rustc --explain E0004" diff --git a/src/test/ui/non_modrs_mods/non_modrs_mods.stderr b/src/test/ui/non_modrs_mods/non_modrs_mods.stderr index f60d2e93e3692..5ea7e9806d104 100644 --- a/src/test/ui/non_modrs_mods/non_modrs_mods.stderr +++ b/src/test/ui/non_modrs_mods/non_modrs_mods.stderr @@ -36,3 +36,4 @@ error[E0658]: mod statements in non-mod.rs files are unstable (see issue #44660) error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/not-enough-arguments.stderr b/src/test/ui/not-enough-arguments.stderr index 291aa6ec4c114..03be576222815 100644 --- a/src/test/ui/not-enough-arguments.stderr +++ b/src/test/ui/not-enough-arguments.stderr @@ -9,3 +9,4 @@ error[E0061]: this function takes 4 parameters but 3 parameters were supplied error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0061" diff --git a/src/test/ui/numeric-fields.stderr b/src/test/ui/numeric-fields.stderr index cdf85d4f9718e..d3ffd84f50f21 100644 --- a/src/test/ui/numeric-fields.stderr +++ b/src/test/ui/numeric-fields.stderr @@ -14,3 +14,5 @@ error[E0026]: struct `S` does not have a field named `0x1` error: aborting due to 2 previous errors +You've got a few errors: E0026, E0560 +If you want more information on an error, try using "rustc --explain E0026" diff --git a/src/test/ui/object-safety-associated-consts.stderr b/src/test/ui/object-safety-associated-consts.stderr index f63ded9a8b108..ef1ba758eecf6 100644 --- a/src/test/ui/object-safety-associated-consts.stderr +++ b/src/test/ui/object-safety-associated-consts.stderr @@ -8,3 +8,4 @@ error[E0038]: the trait `Bar` cannot be made into an object error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/object-safety-generics.stderr b/src/test/ui/object-safety-generics.stderr index 7bc714163c7fa..168ba2c0887d2 100644 --- a/src/test/ui/object-safety-generics.stderr +++ b/src/test/ui/object-safety-generics.stderr @@ -16,3 +16,4 @@ error[E0038]: the trait `Bar` cannot be made into an object error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/object-safety-mentions-Self.stderr b/src/test/ui/object-safety-mentions-Self.stderr index 8ed8dcc803154..9f90ce2e37753 100644 --- a/src/test/ui/object-safety-mentions-Self.stderr +++ b/src/test/ui/object-safety-mentions-Self.stderr @@ -16,3 +16,4 @@ error[E0038]: the trait `Baz` cannot be made into an object error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/object-safety-sized.stderr b/src/test/ui/object-safety-sized.stderr index a733416ef6ccf..e6d78e1c04357 100644 --- a/src/test/ui/object-safety-sized.stderr +++ b/src/test/ui/object-safety-sized.stderr @@ -8,3 +8,4 @@ error[E0038]: the trait `Bar` cannot be made into an object error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/object-safety-supertrait-mentions-Self.stderr b/src/test/ui/object-safety-supertrait-mentions-Self.stderr index a5a67553c6154..e67da8a3f882f 100644 --- a/src/test/ui/object-safety-supertrait-mentions-Self.stderr +++ b/src/test/ui/object-safety-supertrait-mentions-Self.stderr @@ -8,3 +8,4 @@ error[E0038]: the trait `Baz` cannot be made into an object error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0038" diff --git a/src/test/ui/on-unimplemented/bad-annotation.stderr b/src/test/ui/on-unimplemented/bad-annotation.stderr index 7126cc76eb727..449fd408dd7b2 100644 --- a/src/test/ui/on-unimplemented/bad-annotation.stderr +++ b/src/test/ui/on-unimplemented/bad-annotation.stderr @@ -74,3 +74,5 @@ error[E0232]: this attribute must have a valid value error: aborting due to 10 previous errors +You've got a few errors: E0230, E0231, E0232 +If you want more information on an error, try using "rustc --explain E0230" diff --git a/src/test/ui/on-unimplemented/multiple-impls.stderr b/src/test/ui/on-unimplemented/multiple-impls.stderr index cfac3981be284..efe73dc3b76eb 100644 --- a/src/test/ui/on-unimplemented/multiple-impls.stderr +++ b/src/test/ui/on-unimplemented/multiple-impls.stderr @@ -63,3 +63,4 @@ error[E0277]: the trait bound `[i32]: Index>` is not satisfied error: aborting due to 6 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/on-unimplemented/no-debug.stderr b/src/test/ui/on-unimplemented/no-debug.stderr index af5b1e91211fb..44b80b2c93bb6 100644 --- a/src/test/ui/on-unimplemented/no-debug.stderr +++ b/src/test/ui/on-unimplemented/no-debug.stderr @@ -36,3 +36,4 @@ error[E0277]: `no_debug::Bar` doesn't implement `std::fmt::Display` error: aborting due to 4 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/on-unimplemented/on-impl.stderr b/src/test/ui/on-unimplemented/on-impl.stderr index ed2da68f08167..8925dc5d06448 100644 --- a/src/test/ui/on-unimplemented/on-impl.stderr +++ b/src/test/ui/on-unimplemented/on-impl.stderr @@ -21,3 +21,4 @@ error[E0277]: the trait bound `[i32]: Index` is not satisfied error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/on-unimplemented/on-trait.stderr b/src/test/ui/on-unimplemented/on-trait.stderr index 028200a5558c8..d55b2b592c249 100644 --- a/src/test/ui/on-unimplemented/on-trait.stderr +++ b/src/test/ui/on-unimplemented/on-trait.stderr @@ -26,3 +26,4 @@ note: required by `foobar` error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/on-unimplemented/slice-index.stderr b/src/test/ui/on-unimplemented/slice-index.stderr index a1ecbce770a08..5d0d3c380d9d3 100644 --- a/src/test/ui/on-unimplemented/slice-index.stderr +++ b/src/test/ui/on-unimplemented/slice-index.stderr @@ -18,3 +18,4 @@ error[E0277]: the trait bound `std::ops::RangeTo: std::slice::SliceIndex<[i error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/partialeq_help.stderr b/src/test/ui/partialeq_help.stderr index 25ae8b1276815..36165269f86ee 100644 --- a/src/test/ui/partialeq_help.stderr +++ b/src/test/ui/partialeq_help.stderr @@ -9,3 +9,4 @@ error[E0277]: the trait bound `&T: std::cmp::PartialEq` is not satisfied error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0277" diff --git a/src/test/ui/pat-slice-old-style.stderr b/src/test/ui/pat-slice-old-style.stderr index 29c41c49cc415..cfc0aa3da7597 100644 --- a/src/test/ui/pat-slice-old-style.stderr +++ b/src/test/ui/pat-slice-old-style.stderr @@ -8,3 +8,4 @@ error[E0658]: non-reference pattern used to match a reference (see issue #42640) error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/qualified-path-params-2.stderr b/src/test/ui/qualified-path-params-2.stderr index 35a9698451f1b..96c5f15134615 100644 --- a/src/test/ui/qualified-path-params-2.stderr +++ b/src/test/ui/qualified-path-params-2.stderr @@ -14,3 +14,5 @@ error[E0223]: ambiguous associated type error: aborting due to 2 previous errors +You've got a few errors: E0109, E0223 +If you want more information on an error, try using "rustc --explain E0109" diff --git a/src/test/ui/reachable/expr_unary.stderr b/src/test/ui/reachable/expr_unary.stderr index 39120f0bdf980..a8e90d6e64575 100644 --- a/src/test/ui/reachable/expr_unary.stderr +++ b/src/test/ui/reachable/expr_unary.stderr @@ -32,3 +32,4 @@ error[E0600]: cannot apply unary operator `!` to type `!` error: aborting due to 3 previous errors +If you want more information on this error, try using "rustc --explain E0600" diff --git a/src/test/ui/recursive-requirements.stderr b/src/test/ui/recursive-requirements.stderr index 8cf2c65b1e25c..3846915fb7add 100644 --- a/src/test/ui/recursive-requirements.stderr +++ b/src/test/ui/recursive-requirements.stderr @@ -12,3 +12,4 @@ error[E0275]: overflow evaluating the requirement `Foo: std::marker::Sync` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0275" diff --git a/src/test/ui/region-borrow-params-issue-29793-small.stderr b/src/test/ui/region-borrow-params-issue-29793-small.stderr index 7cdea5b0bd264..af68b0a026bad 100644 --- a/src/test/ui/region-borrow-params-issue-29793-small.stderr +++ b/src/test/ui/region-borrow-params-issue-29793-small.stderr @@ -244,3 +244,5 @@ help: to force the closure to take ownership of `y` (and any other referenced va error: aborting due to 20 previous errors +You've got a few errors: E0373, E0597 +If you want more information on an error, try using "rustc --explain E0373" diff --git a/src/test/ui/regions-fn-subtyping-return-static.stderr b/src/test/ui/regions-fn-subtyping-return-static.stderr index 4a97537223cf6..ac7763744c642 100644 --- a/src/test/ui/regions-fn-subtyping-return-static.stderr +++ b/src/test/ui/regions-fn-subtyping-return-static.stderr @@ -9,3 +9,4 @@ error[E0308]: mismatched types error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0308" diff --git a/src/test/ui/regions-nested-fns-2.stderr b/src/test/ui/regions-nested-fns-2.stderr index 5f0bbf6d12b1f..244338dbb4605 100644 --- a/src/test/ui/regions-nested-fns-2.stderr +++ b/src/test/ui/regions-nested-fns-2.stderr @@ -13,3 +13,4 @@ help: to force the closure to take ownership of `y` (and any other referenced va error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0373" diff --git a/src/test/ui/resolve-conflict-item-vs-import.stderr b/src/test/ui/resolve-conflict-item-vs-import.stderr index e2245b8a8b10a..35d31abc5c560 100644 --- a/src/test/ui/resolve-conflict-item-vs-import.stderr +++ b/src/test/ui/resolve-conflict-item-vs-import.stderr @@ -15,3 +15,4 @@ help: You can use `as` to change the binding name of the import error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0255" diff --git a/src/test/ui/resolve-inconsistent-names.stderr b/src/test/ui/resolve-inconsistent-names.stderr index 8ae5a6b8a820f..606234e00b66b 100644 --- a/src/test/ui/resolve-inconsistent-names.stderr +++ b/src/test/ui/resolve-inconsistent-names.stderr @@ -16,3 +16,4 @@ error[E0408]: variable `b` is not bound in all patterns error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0408" diff --git a/src/test/ui/resolve/enums-are-namespaced-xc.stderr b/src/test/ui/resolve/enums-are-namespaced-xc.stderr index 5acc678df90e3..ee6d22103e196 100644 --- a/src/test/ui/resolve/enums-are-namespaced-xc.stderr +++ b/src/test/ui/resolve/enums-are-namespaced-xc.stderr @@ -30,3 +30,5 @@ help: possible candidate is found in another module, you can import it into scop error: aborting due to 3 previous errors +You've got a few errors: E0422, E0425 +If you want more information on an error, try using "rustc --explain E0422" diff --git a/src/test/ui/resolve/issue-14254.stderr b/src/test/ui/resolve/issue-14254.stderr index 1bb5a4cab4951..1a1cb8b0dd923 100644 --- a/src/test/ui/resolve/issue-14254.stderr +++ b/src/test/ui/resolve/issue-14254.stderr @@ -146,3 +146,5 @@ error[E0601]: main function not found error: aborting due to 25 previous errors +You've got a few errors: E0425, E0601 +If you want more information on an error, try using "rustc --explain E0425" diff --git a/src/test/ui/resolve/issue-16058.stderr b/src/test/ui/resolve/issue-16058.stderr index 322a1fea52eed..a0ccc2a11cfb3 100644 --- a/src/test/ui/resolve/issue-16058.stderr +++ b/src/test/ui/resolve/issue-16058.stderr @@ -14,3 +14,4 @@ help: possible better candidates are found in other modules, you can import them error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0574" diff --git a/src/test/ui/resolve/issue-17518.stderr b/src/test/ui/resolve/issue-17518.stderr index ffb110d5c3afe..10e7c9815ccd6 100644 --- a/src/test/ui/resolve/issue-17518.stderr +++ b/src/test/ui/resolve/issue-17518.stderr @@ -10,3 +10,4 @@ help: possible candidate is found in another module, you can import it into scop error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0422" diff --git a/src/test/ui/resolve/issue-18252.stderr b/src/test/ui/resolve/issue-18252.stderr index edc7196d84645..c26bc052ee1f0 100644 --- a/src/test/ui/resolve/issue-18252.stderr +++ b/src/test/ui/resolve/issue-18252.stderr @@ -6,3 +6,4 @@ error[E0423]: expected function, found struct variant `Foo::Variant` error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0423" diff --git a/src/test/ui/resolve/issue-19452.stderr b/src/test/ui/resolve/issue-19452.stderr index 7b14d49af51dd..b80d4faefa95e 100644 --- a/src/test/ui/resolve/issue-19452.stderr +++ b/src/test/ui/resolve/issue-19452.stderr @@ -12,3 +12,4 @@ error[E0423]: expected value, found struct variant `issue_19452_aux::Homura::Mad error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0423" diff --git a/src/test/ui/resolve/issue-21221-1.stderr b/src/test/ui/resolve/issue-21221-1.stderr index 88405fd841b06..cbf924d91b3c0 100644 --- a/src/test/ui/resolve/issue-21221-1.stderr +++ b/src/test/ui/resolve/issue-21221-1.stderr @@ -47,3 +47,5 @@ help: possible candidate is found in another module, you can import it into scop error: cannot continue compilation due to previous error +You've got a few errors: E0405, E0412 +If you want more information on an error, try using "rustc --explain E0405" diff --git a/src/test/ui/resolve/issue-21221-2.stderr b/src/test/ui/resolve/issue-21221-2.stderr index 0ae8052758dac..8a45bd58107bd 100644 --- a/src/test/ui/resolve/issue-21221-2.stderr +++ b/src/test/ui/resolve/issue-21221-2.stderr @@ -12,3 +12,5 @@ error[E0601]: main function not found error: cannot continue compilation due to previous error +You've got a few errors: E0405, E0601 +If you want more information on an error, try using "rustc --explain E0405" diff --git a/src/test/ui/resolve/issue-21221-3.stderr b/src/test/ui/resolve/issue-21221-3.stderr index b26a8cdacb029..731d7bcd655b9 100644 --- a/src/test/ui/resolve/issue-21221-3.stderr +++ b/src/test/ui/resolve/issue-21221-3.stderr @@ -10,3 +10,4 @@ help: possible candidate is found in another module, you can import it into scop error: cannot continue compilation due to previous error +If you want more information on this error, try using "rustc --explain E0405" diff --git a/src/test/ui/resolve/issue-21221-4.stderr b/src/test/ui/resolve/issue-21221-4.stderr index 0a22d8e1fe1ad..446bd0e258de3 100644 --- a/src/test/ui/resolve/issue-21221-4.stderr +++ b/src/test/ui/resolve/issue-21221-4.stderr @@ -10,3 +10,4 @@ help: possible candidate is found in another module, you can import it into scop error: cannot continue compilation due to previous error +If you want more information on this error, try using "rustc --explain E0405" diff --git a/src/test/ui/resolve/issue-23305.stderr b/src/test/ui/resolve/issue-23305.stderr index a0b4d424ec968..2da2044ca957e 100644 --- a/src/test/ui/resolve/issue-23305.stderr +++ b/src/test/ui/resolve/issue-23305.stderr @@ -13,3 +13,4 @@ note: the cycle begins when processing ` Date: Sat, 24 Feb 2018 15:48:53 +0100 Subject: [PATCH 4/5] Reduce error codes length when too much are thrown --- src/librustc_errors/emitter.rs | 7 +- .../custom-derive/issue-36935.stderr | 2 - .../ui-fulldeps/proc-macro/load-panic.stderr | 2 - src/test/ui/error-festival.rs | 53 +++++++++++++ src/test/ui/error-festival.stderr | 76 +++++++++++++++++++ ...arg-count-expected-type-issue-47244.stderr | 1 + .../issue-42234-unknown-receiver-type.stderr | 2 +- 7 files changed, 136 insertions(+), 7 deletions(-) create mode 100644 src/test/ui/error-festival.rs create mode 100644 src/test/ui/error-festival.stderr diff --git a/src/librustc_errors/emitter.rs b/src/librustc_errors/emitter.rs index 18900de973398..86e77d404ff57 100644 --- a/src/librustc_errors/emitter.rs +++ b/src/librustc_errors/emitter.rs @@ -122,9 +122,12 @@ impl Drop for EmitterWriter { let mut error_codes = self.error_codes.clone().into_iter().collect::>(); error_codes.sort(); if error_codes.len() > 1 { + let limit = if error_codes.len() > 9 { 9 } else { error_codes.len() }; writeln!(self.dst, - "You've got a few errors: {}", - error_codes.join(", ")).expect("failed to give tips..."); + "You've got a few errors: {}{}", + error_codes[..limit].join(", "), + if error_codes.len() > 9 { "..." } else { "" } + ).expect("failed to give tips..."); writeln!(self.dst, "If you want more information on an error, try using \ \"rustc --explain {}\"", diff --git a/src/test/ui-fulldeps/custom-derive/issue-36935.stderr b/src/test/ui-fulldeps/custom-derive/issue-36935.stderr index 91e9f3055ce85..55848c6553cca 100644 --- a/src/test/ui-fulldeps/custom-derive/issue-36935.stderr +++ b/src/test/ui-fulldeps/custom-derive/issue-36935.stderr @@ -1,5 +1,3 @@ -thread 'rustc' panicked at 'lolnope', $DIR/auxiliary/plugin.rs:27:5 -note: Run with `RUST_BACKTRACE=1` for a backtrace. error: proc-macro derive panicked --> $DIR/issue-36935.rs:18:15 | diff --git a/src/test/ui-fulldeps/proc-macro/load-panic.stderr b/src/test/ui-fulldeps/proc-macro/load-panic.stderr index 3e885ffc72cd2..ab2ab84315a93 100644 --- a/src/test/ui-fulldeps/proc-macro/load-panic.stderr +++ b/src/test/ui-fulldeps/proc-macro/load-panic.stderr @@ -1,5 +1,3 @@ -thread 'rustc' panicked at 'nope!', $DIR/auxiliary/derive-panic.rs:22:5 -note: Run with `RUST_BACKTRACE=1` for a backtrace. error: proc-macro derive panicked --> $DIR/load-panic.rs:17:10 | diff --git a/src/test/ui/error-festival.rs b/src/test/ui/error-festival.rs new file mode 100644 index 0000000000000..c17e3c878b852 --- /dev/null +++ b/src/test/ui/error-festival.rs @@ -0,0 +1,53 @@ +// Copyright 2018 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +enum Question { + Yes, + No, +} + +mod foo { + const FOO: u32 = 0; +} + +fn main() { + let x = "a"; + x += 2; + //~^ ERROR E0368 + y = 2; + //~^ ERROR E0425 + x.z(); + //~^ ERROR E0599 + + !Question::Yes; + //~^ ERROR E0600 + + foo::FOO; + //~^ ERROR E0603 + + 0u32 as char; + //~^ ERROR E0604 + + let x = 0u8; + x as Vec; + //~^ ERROR E0605 + + let x = 5; + let x_is_nonzero = x as bool; + //~^ ERROR E0054 + + let x = &0u8; + let y: u32 = x as u32; + //~^ ERROR E0606 + + let v = 0 as *const u8; + v as *const [u8]; + //~^ ERROR E0607 +} diff --git a/src/test/ui/error-festival.stderr b/src/test/ui/error-festival.stderr new file mode 100644 index 0000000000000..35a35430fe1c0 --- /dev/null +++ b/src/test/ui/error-festival.stderr @@ -0,0 +1,76 @@ +error[E0425]: cannot find value `y` in this scope + --> $DIR/error-festival.rs:24:5 + | +24 | y = 2; + | ^ did you mean `x`? + +error[E0603]: constant `FOO` is private + --> $DIR/error-festival.rs:32:5 + | +32 | foo::FOO; + | ^^^^^^^^ + +error[E0368]: binary assignment operation `+=` cannot be applied to type `&str` + --> $DIR/error-festival.rs:22:5 + | +22 | x += 2; + | -^^^^^ + | | + | cannot use `+=` on type `&str` + +error[E0599]: no method named `z` found for type `&str` in the current scope + --> $DIR/error-festival.rs:26:7 + | +26 | x.z(); + | ^ + +error[E0600]: cannot apply unary operator `!` to type `Question` + --> $DIR/error-festival.rs:29:5 + | +29 | !Question::Yes; + | ^^^^^^^^^^^^^^ + +error[E0604]: only `u8` can be cast as `char`, not `u32` + --> $DIR/error-festival.rs:35:5 + | +35 | 0u32 as char; + | ^^^^^^^^^^^^ + +error[E0605]: non-primitive cast: `u8` as `std::vec::Vec` + --> $DIR/error-festival.rs:39:5 + | +39 | x as Vec; + | ^^^^^^^^^^^^ + | + = note: an `as` expression can only be used to convert between primitive types. Consider using the `From` trait + +error[E0054]: cannot cast as `bool` + --> $DIR/error-festival.rs:43:24 + | +43 | let x_is_nonzero = x as bool; + | ^^^^^^^^^ unsupported cast + | + = help: compare with zero instead + +error[E0606]: casting `&u8` as `u32` is invalid + --> $DIR/error-festival.rs:47:18 + | +47 | let y: u32 = x as u32; + | ^^^^^^^^ cannot cast `&u8` as `u32` + | +help: did you mean `*x`? + --> $DIR/error-festival.rs:47:18 + | +47 | let y: u32 = x as u32; + | ^ + +error[E0607]: cannot cast thin pointer `*const u8` to fat pointer `*const [u8]` + --> $DIR/error-festival.rs:51:5 + | +51 | v as *const [u8]; + | ^^^^^^^^^^^^^^^^ + +error: aborting due to 10 previous errors + +You've got a few errors: E0054, E0368, E0425, E0599, E0600, E0603, E0604, E0605, E0606... +If you want more information on an error, try using "rustc --explain E0054" diff --git a/src/test/ui/mismatched_types/closure-arg-count-expected-type-issue-47244.stderr b/src/test/ui/mismatched_types/closure-arg-count-expected-type-issue-47244.stderr index 34934b8d19598..1ab2a8c872aba 100644 --- a/src/test/ui/mismatched_types/closure-arg-count-expected-type-issue-47244.stderr +++ b/src/test/ui/mismatched_types/closure-arg-count-expected-type-issue-47244.stderr @@ -12,3 +12,4 @@ help: change the closure to accept a tuple instead of individual arguments error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0593" diff --git a/src/test/ui/span/issue-42234-unknown-receiver-type.stderr b/src/test/ui/span/issue-42234-unknown-receiver-type.stderr index d962f2b75c20d..567d8f33ed64d 100644 --- a/src/test/ui/span/issue-42234-unknown-receiver-type.stderr +++ b/src/test/ui/span/issue-42234-unknown-receiver-type.stderr @@ -15,4 +15,4 @@ error[E0282]: type annotations needed error: aborting due to 2 previous errors -If you want more information on this error, try using "rustc --explain E0619" +If you want more information on this error, try using "rustc --explain E0282" From ce6429af7af295e41c3483838ea2f099e490c78f Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 26 Feb 2018 09:56:00 +0100 Subject: [PATCH 5/5] Fix new tests --- src/test/ui/feature-gate-if_while_or_patterns.stderr | 1 + src/test/ui/impl_trait_projections.stderr | 2 ++ src/test/ui/issue-23302-1.stderr | 1 + src/test/ui/issue-23302-2.stderr | 1 + src/test/ui/issue-23302-3.stderr | 1 + src/test/ui/issue-36163.stderr | 2 +- src/test/ui/issue-45157.stderr | 1 + src/test/ui/issue-47706.stderr | 3 +-- src/test/ui/nested_impl_trait.stderr | 2 ++ 9 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/test/ui/feature-gate-if_while_or_patterns.stderr b/src/test/ui/feature-gate-if_while_or_patterns.stderr index c906fa5a2f45a..d9ebdcee0e9e0 100644 --- a/src/test/ui/feature-gate-if_while_or_patterns.stderr +++ b/src/test/ui/feature-gate-if_while_or_patterns.stderr @@ -20,3 +20,4 @@ error[E0658]: multiple patterns in `if let` and `while let` are unstable (see is error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0658" diff --git a/src/test/ui/impl_trait_projections.stderr b/src/test/ui/impl_trait_projections.stderr index 08de0eb99a307..a0a24cc9d04c3 100644 --- a/src/test/ui/impl_trait_projections.stderr +++ b/src/test/ui/impl_trait_projections.stderr @@ -32,3 +32,5 @@ error[E0223]: ambiguous associated type error: aborting due to 5 previous errors +You've got a few errors: E0223, E0667 +If you want more information on an error, try using "rustc --explain E0223" diff --git a/src/test/ui/issue-23302-1.stderr b/src/test/ui/issue-23302-1.stderr index 0658c07fb1dbe..1248d2075a571 100644 --- a/src/test/ui/issue-23302-1.stderr +++ b/src/test/ui/issue-23302-1.stderr @@ -13,3 +13,4 @@ note: the cycle begins when const-evaluating `X::A::{{initializer}}`... error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0391" diff --git a/src/test/ui/issue-23302-2.stderr b/src/test/ui/issue-23302-2.stderr index c4a1c4f80c82c..5438ce4b797f9 100644 --- a/src/test/ui/issue-23302-2.stderr +++ b/src/test/ui/issue-23302-2.stderr @@ -13,3 +13,4 @@ note: the cycle begins when const-evaluating `Y::A::{{initializer}}`... error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0391" diff --git a/src/test/ui/issue-23302-3.stderr b/src/test/ui/issue-23302-3.stderr index 76f543cff7913..0a7e239d32fd4 100644 --- a/src/test/ui/issue-23302-3.stderr +++ b/src/test/ui/issue-23302-3.stderr @@ -18,3 +18,4 @@ note: ...which then requires processing `A`... error: aborting due to previous error +If you want more information on this error, try using "rustc --explain E0391" diff --git a/src/test/ui/issue-36163.stderr b/src/test/ui/issue-36163.stderr index 3c32c2743a6e3..22e1f8c91ae28 100644 --- a/src/test/ui/issue-36163.stderr +++ b/src/test/ui/issue-36163.stderr @@ -18,4 +18,4 @@ note: ...which then requires const-evaluating `A`... error: aborting due to previous error -If you want more information on this error, try using "rustc --explain E0265" +If you want more information on this error, try using "rustc --explain E0391" diff --git a/src/test/ui/issue-45157.stderr b/src/test/ui/issue-45157.stderr index e133aab31bc01..9df58ac4b83af 100644 --- a/src/test/ui/issue-45157.stderr +++ b/src/test/ui/issue-45157.stderr @@ -18,3 +18,4 @@ error[E0502]: cannot borrow `u.s.a` as mutable because it is also borrowed as im error: aborting due to 2 previous errors +If you want more information on this error, try using "rustc --explain E0502" diff --git a/src/test/ui/issue-47706.stderr b/src/test/ui/issue-47706.stderr index adbc35c012b9b..f2afbb2052ab4 100644 --- a/src/test/ui/issue-47706.stderr +++ b/src/test/ui/issue-47706.stderr @@ -28,5 +28,4 @@ note: required by `foo` error: aborting due to 2 previous errors -You've got a few errors: E0593, E0601 -If you want more information on an error, try using "rustc --explain E0593" +If you want more information on this error, try using "rustc --explain E0593" diff --git a/src/test/ui/nested_impl_trait.stderr b/src/test/ui/nested_impl_trait.stderr index 094926120cdee..6849a8e08e2a9 100644 --- a/src/test/ui/nested_impl_trait.stderr +++ b/src/test/ui/nested_impl_trait.stderr @@ -48,3 +48,5 @@ error[E0562]: `impl Trait` not allowed outside of function and inherent method r error: aborting due to 6 previous errors +You've got a few errors: E0562, E0666 +If you want more information on an error, try using "rustc --explain E0562"