From 814f14ab02efd86c8d5ced1035822aceb3c943e7 Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Fri, 26 Jul 2019 18:23:03 +0700 Subject: [PATCH 1/3] Unify Github issue links in diagnostics Co-authored-by: eupn Co-authored-by: Punit Singh Koura --- src/librustc/lint/mod.rs | 2 +- src/librustc/session/mod.rs | 2 +- src/librustc/traits/error_reporting.rs | 2 +- src/librustc/ty/error.rs | 3 ++- src/librustc_lint/lib.rs | 26 +++++++++---------- src/librustc_mir/transform/qualify_consts.rs | 7 ++--- src/librustc_typeck/check/demand.rs | 2 +- src/librustc_typeck/check/mod.rs | 2 +- src/librustdoc/config.rs | 2 +- src/librustdoc/core.rs | 2 +- src/libsyntax/feature_gate.rs | 6 +++-- src/libsyntax/parse/diagnostics.rs | 4 +-- src/libsyntax/parse/lexer/mod.rs | 5 ++-- src/libsyntax/parse/literal.rs | 3 ++- .../consts/const-eval/match-test-ptr-null.rs | 1 + 15 files changed, 38 insertions(+), 31 deletions(-) diff --git a/src/librustc/lint/mod.rs b/src/librustc/lint/mod.rs index 8ddf4603490a1..3a044a51d9b15 100644 --- a/src/librustc/lint/mod.rs +++ b/src/librustc/lint/mod.rs @@ -737,7 +737,7 @@ pub fn struct_lint_level<'a>(sess: &'a Session, } else { format!("{} in a future release!", STANDARD_MESSAGE) }; - let citation = format!("for more information, see {}", + let citation = format!("see {} for more information", future_incompatible.reference); err.warn(&explanation); err.note(&citation); diff --git a/src/librustc/session/mod.rs b/src/librustc/session/mod.rs index 61dac678912df..934a58d37bac6 100644 --- a/src/librustc/session/mod.rs +++ b/src/librustc/session/mod.rs @@ -1317,7 +1317,7 @@ fn validate_commandline_args_with_session_available(sess: &Session) { sess.opts.prints.iter().all(|&p| p == PrintRequest::NativeStaticLibs) { sess.err("Profile-guided optimization does not yet work in conjunction \ with `-Cpanic=unwind` on Windows when targeting MSVC. \ - See https://github.com/rust-lang/rust/issues/61002 for details."); + See issue #61002 for details."); } } diff --git a/src/librustc/traits/error_reporting.rs b/src/librustc/traits/error_reporting.rs index 83bd5c56040e1..b6241c9f7fcf7 100644 --- a/src/librustc/traits/error_reporting.rs +++ b/src/librustc/traits/error_reporting.rs @@ -729,7 +729,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { err.note("the trait is implemented for `()`. \ Possibly this error has been caused by changes to \ Rust's type-inference algorithm \ - (see: https://github.com/rust-lang/rust/issues/48950 \ + (see issue #48950 \ for more info). Consider whether you meant to use the \ type `()` here instead."); } diff --git a/src/librustc/ty/error.rs b/src/librustc/ty/error.rs index 4a72794b61a64..2ca90c7687265 100644 --- a/src/librustc/ty/error.rs +++ b/src/librustc/ty/error.rs @@ -287,7 +287,8 @@ impl<'tcx> TyCtxt<'tcx> { if ty.is_closure() || ty.is_generator() { db.note("closures cannot capture themselves or take themselves as argument;\n\ this error may be the result of a recent compiler bug-fix,\n\ - see https://github.com/rust-lang/rust/issues/46062 for more details"); + see issue #46062 \ + for more information"); } } _ => {} diff --git a/src/librustc_lint/lib.rs b/src/librustc_lint/lib.rs index 78bc164ba1a0f..45c8baba8f332 100644 --- a/src/librustc_lint/lib.rs +++ b/src/librustc_lint/lib.rs @@ -457,27 +457,27 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) { store.register_removed("transmute_from_fn_item_types", "always cast functions before transmuting them"); store.register_removed("hr_lifetime_in_assoc_type", - "converted into hard error, see https://github.com/rust-lang/rust/issues/33685"); + "converted into hard error, see issue #33685 "); store.register_removed("inaccessible_extern_crate", - "converted into hard error, see https://github.com/rust-lang/rust/issues/36886"); + "converted into hard error, see issue #36886 "); store.register_removed("super_or_self_in_global_path", - "converted into hard error, see https://github.com/rust-lang/rust/issues/36888"); + "converted into hard error, see issue #36888 "); store.register_removed("overlapping_inherent_impls", - "converted into hard error, see https://github.com/rust-lang/rust/issues/36889"); + "converted into hard error, see issue #36889 "); store.register_removed("illegal_floating_point_constant_pattern", - "converted into hard error, see https://github.com/rust-lang/rust/issues/36890"); + "converted into hard error, see issue #36890 "); store.register_removed("illegal_struct_or_enum_constant_pattern", - "converted into hard error, see https://github.com/rust-lang/rust/issues/36891"); + "converted into hard error, see issue #36891 "); store.register_removed("lifetime_underscore", - "converted into hard error, see https://github.com/rust-lang/rust/issues/36892"); + "converted into hard error, see issue #36892 "); store.register_removed("extra_requirement_in_impl", - "converted into hard error, see https://github.com/rust-lang/rust/issues/37166"); + "converted into hard error, see issue #37166 "); store.register_removed("legacy_imports", - "converted into hard error, see https://github.com/rust-lang/rust/issues/38260"); + "converted into hard error, see issue #38260 "); store.register_removed("coerce_never", - "converted into hard error, see https://github.com/rust-lang/rust/issues/48950"); + "converted into hard error, see issue #48950 "); store.register_removed("resolve_trait_on_defaulted_unit", - "converted into hard error, see https://github.com/rust-lang/rust/issues/48950"); + "converted into hard error, see issue #48950 "); store.register_removed("private_no_mangle_fns", "no longer a warning, `#[no_mangle]` functions always exported"); store.register_removed("private_no_mangle_statics", @@ -485,9 +485,9 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) { store.register_removed("bad_repr", "replaced with a generic attribute input check"); store.register_removed("duplicate_matcher_binding_name", - "converted into hard error, see https://github.com/rust-lang/rust/issues/57742"); + "converted into hard error, see issue #57742 "); store.register_removed("incoherent_fundamental_impls", - "converted into hard error, see https://github.com/rust-lang/rust/issues/46205"); + "converted into hard error, see issue #46205 "); } pub fn register_internals(store: &mut lint::LintStore, sess: Option<&Session>) { diff --git a/src/librustc_mir/transform/qualify_consts.rs b/src/librustc_mir/transform/qualify_consts.rs index dcfc80968f31c..63ac0c25facd1 100644 --- a/src/librustc_mir/transform/qualify_consts.rs +++ b/src/librustc_mir/transform/qualify_consts.rs @@ -1624,8 +1624,9 @@ impl MirPass for QualifyAndPromoteConstants { "{}", err, ); - diag.note("for more information, see issue \ - https://github.com/rust-lang/rust/issues/57563"); + diag.note("see issue \ + #57563 \ + for more information"); diag.help( "add `#![feature(const_fn)]` to the crate attributes to enable", ); @@ -1668,7 +1669,7 @@ impl MirPass for QualifyAndPromoteConstants { *span, &format!("use of {} here does not actually short circuit due to \ the const evaluator presently not being able to do control flow. \ - See https://github.com/rust-lang/rust/issues/49146 for more \ + See issue #49146 for more \ information.", kind), ); } diff --git a/src/librustc_typeck/check/demand.rs b/src/librustc_typeck/check/demand.rs index 3229d49841e79..8adb7a35ec55f 100644 --- a/src/librustc_typeck/check/demand.rs +++ b/src/librustc_typeck/check/demand.rs @@ -728,7 +728,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { err.warn("if the rounded value cannot be represented by the target \ integer type, including `Inf` and `NaN`, casting will cause \ undefined behavior \ - (https://github.com/rust-lang/rust/issues/10184)"); + see issue #10184 "); } true } diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs index 08033b46b8004..4929bb28a5432 100644 --- a/src/librustc_typeck/check/mod.rs +++ b/src/librustc_typeck/check/mod.rs @@ -4528,7 +4528,7 @@ fn fatally_break_rust(sess: &Session) { handler.note_without_error("the compiler expectedly panicked. this is a feature."); handler.note_without_error( "we would appreciate a joke overview: \ - https://github.com/rust-lang/rust/issues/43162#issuecomment-320764675" + see issue #43162 " ); handler.note_without_error(&format!("rustc {} running on {}", option_env!("CFG_VERSION").unwrap_or("unknown_version"), diff --git a/src/librustdoc/config.rs b/src/librustdoc/config.rs index db90bb4524dcf..708c6c1776379 100644 --- a/src/librustdoc/config.rs +++ b/src/librustdoc/config.rs @@ -518,7 +518,7 @@ fn check_deprecated_options(matches: &getopts::Matches, diag: &errors::Handler) if matches.opt_present(flag) { let mut err = diag.struct_warn(&format!("the '{}' flag is considered deprecated", flag)); - err.warn("please see https://github.com/rust-lang/rust/issues/44136"); + err.warn("please see issue #44136 "); if *flag == "no-defaults" { err.help("you may want to use --document-private-items"); diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index cc79f4ab09a51..56f55fee65c3b 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -402,7 +402,7 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt fn report_deprecated_attr(name: &str, diag: &errors::Handler) { let mut msg = diag.struct_warn(&format!("the `#![doc({})]` attribute is \ considered deprecated", name)); - msg.warn("please see https://github.com/rust-lang/rust/issues/44136"); + msg.warn("please see issue #44136 "); if name == "no_default_passes" { msg.help("you may want to use `#![doc(document_private_items)]`"); diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 08a113b53d032..8436e07abe885 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -1389,7 +1389,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ (sym::link_section, Whitelisted, template!(NameValueStr: "name"), Ungated), (sym::no_builtins, Whitelisted, template!(Word), Ungated), (sym::no_debug, Whitelisted, template!(Word), Gated( - Stability::Deprecated("https://github.com/rust-lang/rust/issues/29721", None), + Stability::Deprecated("issue #29721 ", None), sym::no_debug, "the `#[no_debug]` attribute was an experimental feature that has been \ deprecated due to lack of demand", @@ -1746,7 +1746,9 @@ fn leveled_feature_err<'a, S: Into>( None | Some(0) => {} // We still accept `0` as a stand-in for backwards compatibility Some(n) => { err.note(&format!( - "for more information, see https://github.com/rust-lang/rust/issues/{}", + "see issue #{} \ + for more information", + n, n, )); } diff --git a/src/libsyntax/parse/diagnostics.rs b/src/libsyntax/parse/diagnostics.rs index 730efb5ef013c..cd74dac31450e 100644 --- a/src/libsyntax/parse/diagnostics.rs +++ b/src/libsyntax/parse/diagnostics.rs @@ -411,8 +411,8 @@ impl<'a> Parser<'a> { } else { err.note("`#![feature(type_ascription)]` lets you annotate an expression with a \ type: `: `"); - err.note("for more information, see \ - https://github.com/rust-lang/rust/issues/23416"); + err.note("see issue #23416 \ + for more information"); } } } diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index e86d4c7fde683..db4086d07c0c9 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -262,8 +262,9 @@ impl<'a> StringReader<'a> { .warn("this was previously accepted by the compiler but is \ being phased out; it will become a hard error in \ a future release!") - .note("for more information, see issue #42326 \ - ") + .note("see issue \ + #42326 \ + for more information") .emit(); None } else { diff --git a/src/libsyntax/parse/literal.rs b/src/libsyntax/parse/literal.rs index 6409acba573ad..ffb7584340692 100644 --- a/src/libsyntax/parse/literal.rs +++ b/src/libsyntax/parse/literal.rs @@ -373,7 +373,8 @@ crate fn expect_no_suffix(diag: &Handler, sp: Span, kind: &str, suffix: Option \ + for more information", ); err } else { diff --git a/src/test/ui/consts/const-eval/match-test-ptr-null.rs b/src/test/ui/consts/const-eval/match-test-ptr-null.rs index 5b89b0262aca5..65b6c8bea09e7 100644 --- a/src/test/ui/consts/const-eval/match-test-ptr-null.rs +++ b/src/test/ui/consts/const-eval/match-test-ptr-null.rs @@ -5,6 +5,7 @@ fn main() { let _: [u8; 0] = [4; { match &1 as *const i32 as usize { //~^ ERROR casting pointers to integers in constants + //~| NOTE see issue # //~| ERROR constant contains unimplemented expression type //~| ERROR evaluation of constant value failed 0 => 42, //~ ERROR constant contains unimplemented expression type From 9eea6c6bda33dfb95552c8e19cee72c4d3e31089 Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Fri, 26 Jul 2019 19:27:11 +0700 Subject: [PATCH 2/3] Bless ui test files Co-authored-by: eupn Co-authored-by: Punit Singh Koura --- src/librustc/traits/error_reporting.rs | 4 +- src/librustc_lint/lib.rs | 39 ++++++--- src/librustc_mir/transform/qualify_consts.rs | 4 +- src/librustc_typeck/check/demand.rs | 4 +- src/librustdoc/core.rs | 3 +- src/libsyntax/feature_gate.rs | 3 +- src/libsyntax/parse/literal.rs | 2 +- src/test/rustdoc-ui/deprecated-attrs.stderr | 4 +- src/test/ui-fulldeps/gated-plugin.stderr | 2 +- .../hash-stable-is-unstable.stderr | 10 +-- src/test/ui/anon-params-deprecated.stderr | 6 +- ...015-edition-error-various-positions.stderr | 20 ++--- .../await-keyword/2015-edition-warning.stderr | 12 +-- .../async-await/feature-async-closure.stderr | 2 +- ...-sharing-interference-2.migrate2015.stderr | 2 +- ...-sharing-interference-2.migrate2018.stderr | 2 +- ...ing-interference-future-compat-lint.stderr | 4 +- src/test/ui/cast/cast-ptr-to-int-const.stderr | 4 +- .../cfg-attr-crate-2.stderr | 2 +- .../cfg-attr-multi-invalid-1.stderr | 2 +- .../cfg-attr-multi-invalid-2.stderr | 2 +- .../cfg-generic-params.stderr | 10 +-- .../const-param-in-trait-ungated.stderr | 2 +- ...-type-depends-on-type-param-ungated.stderr | 2 +- src/test/ui/const-generics/issue-60263.stderr | 2 +- src/test/ui/consts/const-deref-ptr.stderr | 2 +- .../feature-gate-const_fn_union.stderr | 2 +- .../feature-gate-const_panic.stderr | 6 +- .../ui/consts/const-eval/issue-52442.stderr | 2 +- .../consts/const-eval/match-test-ptr-null.rs | 1 + .../const-eval/match-test-ptr-null.stderr | 10 +-- src/test/ui/consts/const_let_refutable.stderr | 2 +- src/test/ui/consts/const_short_circuit.stderr | 4 +- .../min_const_fn/allow_const_fn_ptr.stderr | 2 +- .../allow_const_fn_ptr_feature_gate.stderr | 2 +- .../min_const_fn/bad_const_fn_body_ice.stderr | 2 +- .../ui/consts/min_const_fn/cast_errors.stderr | 10 +-- .../min_const_fn/cmp_fn_pointers.stderr | 2 +- .../ui/consts/min_const_fn/loop_ice.stderr | 2 +- .../min_const_fn/min_const_fn.nll.stderr | 66 +++++++-------- .../consts/min_const_fn/min_const_fn.stderr | 66 +++++++-------- .../min_const_fn/min_const_fn_dyn.nll.stderr | 4 +- .../min_const_fn/min_const_fn_dyn.stderr | 4 +- .../min_const_fn/min_const_fn_fn_ptr.stderr | 4 +- .../min_const_fn_libstd_stability.stderr | 8 +- .../min_const_fn/min_const_fn_unsafe.stderr | 8 +- ...in_const_unsafe_fn_libstd_stability.stderr | 8 +- ...n_const_unsafe_fn_libstd_stability2.stderr | 6 +- .../consts/min_const_fn/mutable_borrow.stderr | 4 +- src/test/ui/consts/projection_qualif.stderr | 2 +- .../ui/consts/single_variant_match_ice.stderr | 2 +- src/test/ui/defaulted-never-note.stderr | 2 +- .../derives/deriving-with-repr-packed.stderr | 8 +- ...dyn-2015-edition-keyword-ident-lint.stderr | 28 +++---- .../edition-raw-pointer-method-2015.stderr | 2 +- ...re-gate-arbitrary_enum_discriminant.stderr | 6 +- src/test/ui/error-codes/E0395.stderr | 2 +- src/test/ui/error-codes/E0396.stderr | 2 +- src/test/ui/error-codes/E0658.stderr | 2 +- src/test/ui/explore-issue-38412.stderr | 14 ++-- .../ui/feature-gate-optimize_attribute.stderr | 10 +-- .../feature-gate-c_variadic.stderr | 2 +- .../feature-gate-cfg_doctest.stderr | 2 +- .../feature-gate-static-nobundle-2.stderr | 2 +- .../issue-43106-gating-of-inline.stderr | 2 +- src/test/ui/feature-gate/rustc-private.stderr | 2 +- .../feature-gate-abi-msp430-interrupt.stderr | 2 +- .../ui/feature-gates/feature-gate-abi.stderr | 84 +++++++++---------- .../feature-gate-alloc-error-handler.stderr | 2 +- .../feature-gate-allow_fail.stderr | 2 +- .../feature-gate-arbitrary-self-types.stderr | 6 +- ...te-arbitrary_self_types-raw-pointer.stderr | 6 +- .../ui/feature-gates/feature-gate-asm.stderr | 2 +- .../ui/feature-gates/feature-gate-asm2.stderr | 2 +- .../feature-gate-assoc-type-defaults.stderr | 2 +- ...feature-gate-associated_type_bounds.stderr | 26 +++--- ...ature-gate-async-await-2015-edition.stderr | 2 +- .../feature-gate-async-await.stderr | 8 +- .../feature-gate-box-expr.stderr | 2 +- .../feature-gate-box_patterns.stderr | 2 +- .../feature-gate-box_syntax.stderr | 2 +- .../feature-gate-cfg-target-has-atomic.stderr | 36 ++++---- ...eature-gate-cfg-target-thread-local.stderr | 2 +- .../feature-gate-concat_idents.stderr | 4 +- .../feature-gate-concat_idents2.stderr | 2 +- .../feature-gate-concat_idents3.stderr | 4 +- .../feature-gate-const_fn.stderr | 4 +- .../feature-gate-const_generics.stderr | 4 +- .../feature-gate-const_transmute.stderr | 2 +- ...ture-gate-crate_visibility_modifier.stderr | 2 +- .../feature-gate-custom_attribute2.stderr | 34 ++++---- ...feature-gate-custom_test_frameworks.stderr | 4 +- .../feature-gate-decl_macro.stderr | 2 +- ...ate-default_type_parameter_fallback.stderr | 4 +- .../feature-gate-doc_alias.stderr | 2 +- .../feature-gate-doc_cfg-cfg-rustdoc.stderr | 2 +- .../feature-gates/feature-gate-doc_cfg.stderr | 2 +- .../feature-gate-doc_keyword.stderr | 2 +- .../feature-gate-doc_masked.stderr | 2 +- .../feature-gate-doc_spotlight.stderr | 2 +- ...eature-gate-exclusive-range-pattern.stderr | 2 +- .../feature-gate-extern_types.stderr | 2 +- .../feature-gate-external_doc.stderr | 2 +- .../feature-gate-ffi_returns_twice.stderr | 2 +- .../feature-gate-fundamental.stderr | 2 +- .../feature-gate-generators.stderr | 2 +- ...ature-gate-generic_associated_types.stderr | 14 ++-- .../feature-gate-global_asm.stderr | 2 +- .../feature-gate-is_sorted.stderr | 8 +- .../feature-gate-label_break_value.stderr | 2 +- .../feature-gate-link_args.stderr | 6 +- .../feature-gate-link_cfg.stderr | 2 +- .../feature-gate-link_llvm_intrinsics.stderr | 2 +- .../feature-gates/feature-gate-linkage.stderr | 2 +- .../feature-gate-lint-reasons.stderr | 2 +- .../feature-gate-log_syntax.stderr | 2 +- .../feature-gate-log_syntax2.stderr | 2 +- .../feature-gate-macros_in_extern.stderr | 6 +- .../ui/feature-gates/feature-gate-main.stderr | 2 +- .../feature-gate-marker_trait_attr.stderr | 2 +- .../feature-gate-may-dangle.stderr | 2 +- .../feature-gate-min_const_fn.stderr | 4 +- .../feature-gate-naked_functions.stderr | 4 +- .../feature-gate-never_type.stderr | 10 +-- .../feature-gate-no-debug-2.stderr | 2 +- .../feature-gate-no-debug.stderr | 2 +- .../feature-gates/feature-gate-no_core.stderr | 2 +- .../feature-gate-non_ascii_idents.stderr | 26 +++--- .../feature-gate-non_exhaustive.stderr | 2 +- .../feature-gate-on-unimplemented.stderr | 2 +- .../feature-gate-optin-builtin-traits.stderr | 4 +- .../feature-gates/feature-gate-plugin.stderr | 2 +- .../feature-gate-plugin_registrar.stderr | 2 +- .../feature-gate-repr-simd.stderr | 4 +- .../feature-gates/feature-gate-repr128.stderr | 2 +- .../feature-gate-rustc-attrs-1.stderr | 6 +- .../feature-gate-rustc-attrs.stderr | 8 +- .../ui/feature-gates/feature-gate-simd.stderr | 2 +- .../feature-gate-slice-patterns.stderr | 12 +-- .../feature-gates/feature-gate-start.stderr | 2 +- .../feature-gate-static-nobundle.stderr | 2 +- .../feature-gate-stmt_expr_attributes.stderr | 2 +- .../feature-gate-thread_local.stderr | 2 +- .../feature-gate-trace_macros.stderr | 2 +- .../feature-gate-trait-alias.stderr | 2 +- .../feature-gate-transparent_enums.stderr | 2 +- .../feature-gate-transparent_unions.stderr | 2 +- .../feature-gate-try_blocks.stderr | 2 +- .../feature-gate-try_reserve.stderr | 2 +- .../feature-gate-type_alias_impl_trait.stderr | 4 +- .../feature-gate-type_ascription.stderr | 2 +- ...-gate-unboxed-closures-manual-impls.stderr | 14 ++-- ...-gate-unboxed-closures-method-calls.stderr | 6 +- ...re-gate-unboxed-closures-ufcs-calls.stderr | 6 +- .../feature-gate-unboxed-closures.stderr | 4 +- ...feature-gate-unsized_tuple_coercion.stderr | 2 +- .../feature-gate-untagged_unions.stderr | 6 +- .../feature-gate-unwind-attributes.stderr | 2 +- .../ui/future-incompatible-lint-group.stderr | 2 +- ...erator-yielding-or-returning-itself.stderr | 4 +- .../issue-57979-impl-trait-in-path.stderr | 4 +- ...979-nested-impl-trait-in-assoc-proj.stderr | 4 +- src/test/ui/impl-trait/where-allowed.stderr | 4 +- .../local-modularized-tricky-fail-2.stderr | 6 +- .../local-modularized-tricky-fail-3.stderr | 4 +- ...ference-variable-behind-raw-pointer.stderr | 2 +- .../ui/inference/inference_unstable.stderr | 2 +- .../inference_unstable_forced.stderr | 2 +- src/test/ui/issues/issue-17458.stderr | 2 +- src/test/ui/issues/issue-18294.stderr | 2 +- src/test/ui/issues/issue-20313.stderr | 2 +- src/test/ui/issues/issue-22644.stderr | 2 +- src/test/ui/issues/issue-23024.stderr | 2 +- src/test/ui/issues/issue-25439.stderr | 2 +- src/test/ui/issues/issue-25826.stderr | 2 +- src/test/ui/issues/issue-27060.stderr | 4 +- src/test/ui/issues/issue-30079.stderr | 2 +- src/test/ui/issues/issue-32829.stderr | 2 +- src/test/ui/issues/issue-32995-2.stderr | 6 +- src/test/ui/issues/issue-32995.stderr | 14 ++-- .../issue-33140-traitobject-crate.stderr | 6 +- src/test/ui/issues/issue-34255-1.stderr | 2 +- src/test/ui/issues/issue-37550.stderr | 2 +- src/test/ui/issues/issue-37887.stderr | 2 +- src/test/ui/issues/issue-38715.stderr | 2 +- src/test/ui/issues/issue-39404.stderr | 2 +- src/test/ui/issues/issue-41255.stderr | 20 ++--- src/test/ui/issues/issue-44406.stderr | 2 +- src/test/ui/issues/issue-50781.stderr | 2 +- ...issue-52023-array-size-pointer-cast.stderr | 2 +- src/test/ui/issues/issue-55511.stderr | 2 +- src/test/ui/issues/issue-60622.stderr | 2 +- src/test/ui/issues/issue-6804.stderr | 6 +- .../ui/lifetime_starts_expressions.stderr | 2 +- src/test/ui/linkage-attr/linkage4.stderr | 2 +- .../lint-incoherent-auto-trait-objects.stderr | 6 +- src/test/ui/lint/suggestions.stderr | 2 +- src/test/ui/macros/macros-in-extern.stderr | 6 +- .../ui/malformed/malformed-regressions.stderr | 10 +-- .../ui/match/match-range-fail-dominate.stderr | 8 +- ...method-call-lifetime-args-lint-fail.stderr | 30 +++---- .../method-call-lifetime-args-lint.stderr | 4 +- src/test/ui/no-patterns-in-args-2.stderr | 2 +- src/test/ui/panic-runtime/needs-gate.stderr | 4 +- src/test/ui/parser/fn-arg-doc-comment.stderr | 4 +- src/test/ui/parser/issue-17383.stderr | 2 +- src/test/ui/parser/match-vec-invalid.stderr | 4 +- src/test/ui/parser/pat-lt-bracket-6.stderr | 2 +- src/test/ui/parser/pat-tuple-4.stderr | 2 +- src/test/ui/parser/pat-tuple-5.stderr | 2 +- .../ui/parser/recover-from-bad-variant.stderr | 2 +- .../tag-variant-disr-non-nullary.stderr | 2 +- .../underscore-suffix-for-string.stderr | 2 +- .../ui/privacy/legacy-ctor-visibility.stderr | 2 +- .../privacy/private-in-public-assoc-ty.stderr | 4 +- .../private-in-public-non-principal.stderr | 2 +- .../ui/privacy/private-in-public-warn.stderr | 58 ++++++------- src/test/ui/proc-macro/attr-stmt-expr.stderr | 4 +- .../ui/proc-macro/expand-to-unstable-2.stderr | 2 +- src/test/ui/proc-macro/generate-mod.stderr | 8 +- .../ui/proc-macro/macros-in-extern.stderr | 6 +- src/test/ui/proc-macro/more-gates.stderr | 10 +-- .../ui/proc-macro/proc-macro-gates.stderr | 32 +++---- .../ui/proc-macro/proc-macro-gates2.stderr | 4 +- .../pub/pub-reexport-priv-extern-crate.stderr | 6 +- .../ui/reserved/reserved-attr-on-macro.stderr | 2 +- .../feature-gate.stderr | 64 +++++++------- .../param-attrs-builtin-attrs.stderr | 16 ++-- .../param-attrs-feature-gate.stderr | 4 +- ...ide-behind-doubly-indirect-embedded.stderr | 2 +- ...t-hide-behind-doubly-indirect-param.stderr | 2 +- ...ide-behind-indirect-struct-embedded.stderr | 2 +- ...t-hide-behind-indirect-struct-param.stderr | 2 +- .../ui/rfc1445/feature-gate.no_gate.stderr | 2 +- ...-match-ref-ref-forbidden-without-eq.stderr | 4 +- .../rfc1445/match-forbidden-without-eq.stderr | 4 +- .../gat-dont-ice-on-absent-feature.stderr | 2 +- .../ui/rust-2018/async-ident-allowed.stderr | 2 +- src/test/ui/rust-2018/async-ident.stderr | 30 +++---- src/test/ui/rust-2018/dyn-keyword.stderr | 2 +- .../edition-lint-fully-qualified-paths.stderr | 4 +- .../edition-lint-nested-empty-paths.stderr | 6 +- .../edition-lint-nested-paths.stderr | 4 +- .../ui/rust-2018/edition-lint-paths.stderr | 14 ++-- .../ui/rust-2018/extern-crate-rename.stderr | 2 +- .../ui/rust-2018/extern-crate-submod.stderr | 2 +- .../suggestions-not-always-applicable.stderr | 4 +- src/test/ui/rust-2018/try-ident.stderr | 4 +- src/test/ui/rust-2018/try-macro.stderr | 2 +- src/test/ui/safe-extern-statics.stderr | 8 +- .../ui/span/gated-features-attr-spans.stderr | 2 +- src/test/ui/span/issue-36530.stderr | 2 +- ...specialization-feature-gate-default.stderr | 2 +- ...specialization-feature-gate-default.stderr | 2 +- .../stability-attribute-issue.stderr | 4 +- src/test/ui/stmt_expr_attrs_no_feature.stderr | 18 ++-- .../ui/suggestions/attribute-typos.stderr | 2 +- .../type-ascription-instead-of-method.stderr | 2 +- .../type-ascription-instead-of-variant.stderr | 2 +- .../syntax-trait-polarity-feature-gate.stderr | 2 +- src/test/ui/target-feature-gate.stderr | 2 +- src/test/ui/trace_macros-gate.stderr | 8 +- ...ity-lint-ambiguous_associated_items.stderr | 2 +- .../type-alias-impl-trait/issue-60371.stderr | 2 +- .../ui/type/ascription/issue-34255-1.stderr | 2 +- .../ui/type/ascription/issue-47666.stderr | 2 +- .../ui/type/ascription/issue-54516.stderr | 2 +- .../ui/type/ascription/issue-60933.stderr | 2 +- ...ascription-instead-of-statement-end.stderr | 4 +- .../unboxed-closure-feature-gate.stderr | 2 +- .../unboxed-closure-no-cyclic-sig.stderr | 2 +- ...nboxed-closure-sugar-not-used-on-fn.stderr | 4 +- src/test/ui/unsafe/ranged_ints2_const.stderr | 4 +- src/test/ui/utf8_idents.stderr | 8 +- 274 files changed, 808 insertions(+), 792 deletions(-) diff --git a/src/librustc/traits/error_reporting.rs b/src/librustc/traits/error_reporting.rs index b6241c9f7fcf7..239652aa422bd 100644 --- a/src/librustc/traits/error_reporting.rs +++ b/src/librustc/traits/error_reporting.rs @@ -728,8 +728,8 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { if self.predicate_may_hold(&unit_obligation) { err.note("the trait is implemented for `()`. \ Possibly this error has been caused by changes to \ - Rust's type-inference algorithm \ - (see issue #48950 \ + Rust's type-inference algorithm (see issue #48950 \ + \ for more info). Consider whether you meant to use the \ type `()` here instead."); } diff --git a/src/librustc_lint/lib.rs b/src/librustc_lint/lib.rs index 45c8baba8f332..0c6a61c5582b9 100644 --- a/src/librustc_lint/lib.rs +++ b/src/librustc_lint/lib.rs @@ -457,27 +457,38 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) { store.register_removed("transmute_from_fn_item_types", "always cast functions before transmuting them"); store.register_removed("hr_lifetime_in_assoc_type", - "converted into hard error, see issue #33685 "); + "converted into hard error, \ + see issue #33685 "); store.register_removed("inaccessible_extern_crate", - "converted into hard error, see issue #36886 "); + "converted into hard error, \ + see issue #36886 "); store.register_removed("super_or_self_in_global_path", - "converted into hard error, see issue #36888 "); + "converted into hard error, \ + see issue #36888 "); store.register_removed("overlapping_inherent_impls", - "converted into hard error, see issue #36889 "); + "converted into hard error, \ + see issue #36889 "); store.register_removed("illegal_floating_point_constant_pattern", - "converted into hard error, see issue #36890 "); + "converted into hard error, \ + see issue #36890 "); store.register_removed("illegal_struct_or_enum_constant_pattern", - "converted into hard error, see issue #36891 "); + "converted into hard error, \ + see issue #36891 "); store.register_removed("lifetime_underscore", - "converted into hard error, see issue #36892 "); + "converted into hard error, \ + see issue #36892 "); store.register_removed("extra_requirement_in_impl", - "converted into hard error, see issue #37166 "); + "converted into hard error, \ + see issue #37166 "); store.register_removed("legacy_imports", - "converted into hard error, see issue #38260 "); + "converted into hard error, \ + see issue #38260 "); store.register_removed("coerce_never", - "converted into hard error, see issue #48950 "); + "converted into hard error, \ + see issue #48950 "); store.register_removed("resolve_trait_on_defaulted_unit", - "converted into hard error, see issue #48950 "); + "converted into hard error, \ + see issue #48950 "); store.register_removed("private_no_mangle_fns", "no longer a warning, `#[no_mangle]` functions always exported"); store.register_removed("private_no_mangle_statics", @@ -485,9 +496,11 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) { store.register_removed("bad_repr", "replaced with a generic attribute input check"); store.register_removed("duplicate_matcher_binding_name", - "converted into hard error, see issue #57742 "); + "converted into hard error, \ + see issue #57742 "); store.register_removed("incoherent_fundamental_impls", - "converted into hard error, see issue #46205 "); + "converted into hard error, \ + see issue #46205 "); } pub fn register_internals(store: &mut lint::LintStore, sess: Option<&Session>) { diff --git a/src/librustc_mir/transform/qualify_consts.rs b/src/librustc_mir/transform/qualify_consts.rs index 63ac0c25facd1..89bf684a69724 100644 --- a/src/librustc_mir/transform/qualify_consts.rs +++ b/src/librustc_mir/transform/qualify_consts.rs @@ -1669,8 +1669,8 @@ impl MirPass for QualifyAndPromoteConstants { *span, &format!("use of {} here does not actually short circuit due to \ the const evaluator presently not being able to do control flow. \ - See issue #49146 for more \ - information.", kind), + See issue #49146 \ + for more information.", kind), ); } for local in locals { diff --git a/src/librustc_typeck/check/demand.rs b/src/librustc_typeck/check/demand.rs index 8adb7a35ec55f..65fabd7b1d7bc 100644 --- a/src/librustc_typeck/check/demand.rs +++ b/src/librustc_typeck/check/demand.rs @@ -727,8 +727,8 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { ); err.warn("if the rounded value cannot be represented by the target \ integer type, including `Inf` and `NaN`, casting will cause \ - undefined behavior \ - see issue #10184 "); + undefined behavior. See issue #10184 \ + "); } true } diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index 56f55fee65c3b..e60e6370adf04 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -402,7 +402,8 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt fn report_deprecated_attr(name: &str, diag: &errors::Handler) { let mut msg = diag.struct_warn(&format!("the `#![doc({})]` attribute is \ considered deprecated", name)); - msg.warn("please see issue #44136 "); + msg.warn("please see issue \ + #44136 "); if name == "no_default_passes" { msg.help("you may want to use `#![doc(document_private_items)]`"); diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 8436e07abe885..9c2fc1ae1d288 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -1389,7 +1389,8 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ (sym::link_section, Whitelisted, template!(NameValueStr: "name"), Ungated), (sym::no_builtins, Whitelisted, template!(Word), Ungated), (sym::no_debug, Whitelisted, template!(Word), Gated( - Stability::Deprecated("issue #29721 ", None), + Stability::Deprecated("issue #29721 ", + None), sym::no_debug, "the `#[no_debug]` attribute was an experimental feature that has been \ deprecated due to lack of demand", diff --git a/src/libsyntax/parse/literal.rs b/src/libsyntax/parse/literal.rs index ffb7584340692..9a87864fc0cad 100644 --- a/src/libsyntax/parse/literal.rs +++ b/src/libsyntax/parse/literal.rs @@ -374,7 +374,7 @@ crate fn expect_no_suffix(diag: &Handler, sp: Span, kind: &str, suffix: Option \ - for more information", + for more information" ); err } else { diff --git a/src/test/rustdoc-ui/deprecated-attrs.stderr b/src/test/rustdoc-ui/deprecated-attrs.stderr index 5bd62d60b48f3..1c59bbce68c87 100644 --- a/src/test/rustdoc-ui/deprecated-attrs.stderr +++ b/src/test/rustdoc-ui/deprecated-attrs.stderr @@ -1,9 +1,9 @@ warning: the `#![doc(no_default_passes)]` attribute is considered deprecated | - = warning: please see https://github.com/rust-lang/rust/issues/44136 + = warning: see issue #44136 = help: you may want to use `#![doc(document_private_items)]` warning: the `#![doc(passes = "...")]` attribute is considered deprecated | - = warning: please see https://github.com/rust-lang/rust/issues/44136 + = warning: see issue #44136 diff --git a/src/test/ui-fulldeps/gated-plugin.stderr b/src/test/ui-fulldeps/gated-plugin.stderr index c5c1326c4f336..07ceb08e2f9d8 100644 --- a/src/test/ui-fulldeps/gated-plugin.stderr +++ b/src/test/ui-fulldeps/gated-plugin.stderr @@ -4,7 +4,7 @@ error[E0658]: compiler plugins are experimental and possibly buggy LL | #![plugin(attr_plugin_test)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29597 + = note: see issue #29597 for more information = help: add `#![feature(plugin)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui-fulldeps/hash-stable-is-unstable.stderr b/src/test/ui-fulldeps/hash-stable-is-unstable.stderr index 02056d30eae9c..6b4f5ec3b787f 100644 --- a/src/test/ui-fulldeps/hash-stable-is-unstable.stderr +++ b/src/test/ui-fulldeps/hash-stable-is-unstable.stderr @@ -8,7 +8,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei LL | extern crate rustc_data_structures; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27812 + = note: see issue #27812 for more information = help: add `#![feature(rustc_private)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? @@ -17,7 +17,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei LL | extern crate rustc; | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27812 + = note: see issue #27812 for more information = help: add `#![feature(rustc_private)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? @@ -26,7 +26,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei LL | extern crate rustc_macros; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27812 + = note: see issue #27812 for more information = help: add `#![feature(rustc_private)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? @@ -35,7 +35,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei LL | use rustc_macros::HashStable; | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27812 + = note: see issue #27812 for more information = help: add `#![feature(rustc_private)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? @@ -44,7 +44,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei LL | #[derive(HashStable)] | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27812 + = note: see issue #27812 for more information = help: add `#![feature(rustc_private)]` to the crate attributes to enable error: aborting due to 6 previous errors diff --git a/src/test/ui/anon-params-deprecated.stderr b/src/test/ui/anon-params-deprecated.stderr index e97dbc15f9cde..b1df36a1ff6ec 100644 --- a/src/test/ui/anon-params-deprecated.stderr +++ b/src/test/ui/anon-params-deprecated.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![warn(anonymous_parameters)] | ^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #41686 + = note: see issue #41686 for more information warning: anonymous parameters are deprecated and will be removed in the next edition. --> $DIR/anon-params-deprecated.rs:12:30 @@ -19,7 +19,7 @@ LL | fn bar_with_default_impl(String, String) {} | ^^^^^^ help: Try naming the parameter or explicitly ignoring it: `_: String` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #41686 + = note: see issue #41686 for more information warning: anonymous parameters are deprecated and will be removed in the next edition. --> $DIR/anon-params-deprecated.rs:12:38 @@ -28,5 +28,5 @@ LL | fn bar_with_default_impl(String, String) {} | ^^^^^^ help: Try naming the parameter or explicitly ignoring it: `_: String` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #41686 + = note: see issue #41686 for more information diff --git a/src/test/ui/async-await/await-keyword/2015-edition-error-various-positions.stderr b/src/test/ui/async-await/await-keyword/2015-edition-error-various-positions.stderr index 8af0110169ebd..193f5611bcb1f 100644 --- a/src/test/ui/async-await/await-keyword/2015-edition-error-various-positions.stderr +++ b/src/test/ui/async-await/await-keyword/2015-edition-error-various-positions.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(keyword_idents)] | ^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:8:20 @@ -19,7 +19,7 @@ LL | pub struct await; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:12:16 @@ -28,7 +28,7 @@ LL | use outer_mod::await::await; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:12:23 @@ -37,7 +37,7 @@ LL | use outer_mod::await::await; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:17:14 @@ -46,7 +46,7 @@ LL | struct Foo { await: () } | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:21:15 @@ -55,7 +55,7 @@ LL | impl Foo { fn await() {} } | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:25:14 @@ -64,7 +64,7 @@ LL | macro_rules! await { | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:32:5 @@ -73,7 +73,7 @@ LL | await!(); | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:35:11 @@ -82,7 +82,7 @@ LL | match await { await => {} } | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-error-various-positions.rs:35:19 @@ -91,7 +91,7 @@ LL | match await { await => {} } | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: aborting due to 10 previous errors diff --git a/src/test/ui/async-await/await-keyword/2015-edition-warning.stderr b/src/test/ui/async-await/await-keyword/2015-edition-warning.stderr index d9ae1b9a167a6..6eb6122bd4527 100644 --- a/src/test/ui/async-await/await-keyword/2015-edition-warning.stderr +++ b/src/test/ui/async-await/await-keyword/2015-edition-warning.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(keyword_idents)] | ^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-warning.rs:10:20 @@ -19,7 +19,7 @@ LL | pub struct await; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-warning.rs:15:16 @@ -28,7 +28,7 @@ LL | use outer_mod::await::await; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-warning.rs:15:23 @@ -37,7 +37,7 @@ LL | use outer_mod::await::await; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-warning.rs:22:11 @@ -46,7 +46,7 @@ LL | match await { await => {} } | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `await` is a keyword in the 2018 edition --> $DIR/2015-edition-warning.rs:22:19 @@ -55,7 +55,7 @@ LL | match await { await => {} } | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: aborting due to 6 previous errors diff --git a/src/test/ui/async-await/feature-async-closure.stderr b/src/test/ui/async-await/feature-async-closure.stderr index c3a8c92149916..ba851ba7d2984 100644 --- a/src/test/ui/async-await/feature-async-closure.stderr +++ b/src/test/ui/async-await/feature-async-closure.stderr @@ -4,7 +4,7 @@ error[E0658]: async closures are unstable LL | let _ = async || {}; | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62290 + = note: see issue #62290 for more information = help: add `#![feature(async_closure)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2015.stderr b/src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2015.stderr index 88e9ced03ddde..ea981f2f457ff 100644 --- a/src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2015.stderr +++ b/src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2015.stderr @@ -33,7 +33,7 @@ LL | v.push(shared.len()); | = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future - = note: for more information, see issue #59159 + = note: see issue #59159 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2018.stderr b/src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2018.stderr index 88e9ced03ddde..ea981f2f457ff 100644 --- a/src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2018.stderr +++ b/src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2018.stderr @@ -33,7 +33,7 @@ LL | v.push(shared.len()); | = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future - = note: for more information, see issue #59159 + = note: see issue #59159 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/borrowck/two-phase-reservation-sharing-interference-future-compat-lint.stderr b/src/test/ui/borrowck/two-phase-reservation-sharing-interference-future-compat-lint.stderr index 77fbfb37addd0..6b4686f72bf4a 100644 --- a/src/test/ui/borrowck/two-phase-reservation-sharing-interference-future-compat-lint.stderr +++ b/src/test/ui/borrowck/two-phase-reservation-sharing-interference-future-compat-lint.stderr @@ -15,7 +15,7 @@ note: lint level defined here LL | #![warn(mutable_borrow_reservation_conflict)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future - = note: for more information, see issue #59159 + = note: see issue #59159 for more information error: cannot borrow `v` as mutable because it is also borrowed as immutable --> $DIR/two-phase-reservation-sharing-interference-future-compat-lint.rs:37:9 @@ -34,7 +34,7 @@ note: lint level defined here LL | #![deny(mutable_borrow_reservation_conflict)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future - = note: for more information, see issue #59159 + = note: see issue #59159 for more information error: aborting due to previous error diff --git a/src/test/ui/cast/cast-ptr-to-int-const.stderr b/src/test/ui/cast/cast-ptr-to-int-const.stderr index 140661738d60b..f523b14a98c00 100644 --- a/src/test/ui/cast/cast-ptr-to-int-const.stderr +++ b/src/test/ui/cast/cast-ptr-to-int-const.stderr @@ -4,7 +4,7 @@ error[E0658]: casting pointers to integers in constants is unstable LL | main as u32 | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51910 + = note: see issue #51910 for more information = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable error[E0658]: casting pointers to integers in constants is unstable @@ -13,7 +13,7 @@ error[E0658]: casting pointers to integers in constants is unstable LL | &Y as *const u32 as u32 | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51910 + = note: see issue #51910 for more information = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/conditional-compilation/cfg-attr-crate-2.stderr b/src/test/ui/conditional-compilation/cfg-attr-crate-2.stderr index 5a70a5efc7f2a..e42586f729412 100644 --- a/src/test/ui/conditional-compilation/cfg-attr-crate-2.stderr +++ b/src/test/ui/conditional-compilation/cfg-attr-crate-2.stderr @@ -4,7 +4,7 @@ error[E0658]: no_core is experimental LL | #![cfg_attr(broken, no_core)] | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29639 + = note: see issue #29639 for more information = help: add `#![feature(no_core)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/conditional-compilation/cfg-attr-multi-invalid-1.stderr b/src/test/ui/conditional-compilation/cfg-attr-multi-invalid-1.stderr index 5e9adf1780737..d79dedb497ef9 100644 --- a/src/test/ui/conditional-compilation/cfg-attr-multi-invalid-1.stderr +++ b/src/test/ui/conditional-compilation/cfg-attr-multi-invalid-1.stderr @@ -4,7 +4,7 @@ error[E0658]: no_core is experimental LL | #![cfg_attr(broken, no_core, no_std)] | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29639 + = note: see issue #29639 for more information = help: add `#![feature(no_core)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/conditional-compilation/cfg-attr-multi-invalid-2.stderr b/src/test/ui/conditional-compilation/cfg-attr-multi-invalid-2.stderr index 06b67156651cc..8a2d897ad1719 100644 --- a/src/test/ui/conditional-compilation/cfg-attr-multi-invalid-2.stderr +++ b/src/test/ui/conditional-compilation/cfg-attr-multi-invalid-2.stderr @@ -4,7 +4,7 @@ error[E0658]: no_core is experimental LL | #![cfg_attr(broken, no_std, no_core)] | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29639 + = note: see issue #29639 for more information = help: add `#![feature(no_core)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/conditional-compilation/cfg-generic-params.stderr b/src/test/ui/conditional-compilation/cfg-generic-params.stderr index 1f9731fcfbefb..8c44cb3d4b661 100644 --- a/src/test/ui/conditional-compilation/cfg-generic-params.stderr +++ b/src/test/ui/conditional-compilation/cfg-generic-params.stderr @@ -22,7 +22,7 @@ error[E0658]: the attribute `unknown` is currently unknown to the compiler and m LL | fn f_lt_yes<#[cfg_attr(yes, unknown)] 'a>() {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `unknown` is currently unknown to the compiler and may have meaning added to it in the future @@ -31,7 +31,7 @@ error[E0658]: the attribute `unknown` is currently unknown to the compiler and m LL | fn f_ty_yes<#[cfg_attr(yes, unknown)] T>() {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `unknown` is currently unknown to the compiler and may have meaning added to it in the future @@ -40,7 +40,7 @@ error[E0658]: the attribute `unknown` is currently unknown to the compiler and m LL | type FnYes = for<#[cfg_attr(yes, unknown)] 'a> fn(); | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `unknown` is currently unknown to the compiler and may have meaning added to it in the future @@ -49,7 +49,7 @@ error[E0658]: the attribute `unknown` is currently unknown to the compiler and m LL | type PolyYes = dyn for<#[cfg_attr(yes, unknown)] 'a> Copy; | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `unknown` is currently unknown to the compiler and may have meaning added to it in the future @@ -58,7 +58,7 @@ error[E0658]: the attribute `unknown` is currently unknown to the compiler and m LL | struct WhereYes where for<#[cfg_attr(yes, unknown)] 'a> u8: Copy; | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error: aborting due to 8 previous errors diff --git a/src/test/ui/const-generics/const-param-in-trait-ungated.stderr b/src/test/ui/const-generics/const-param-in-trait-ungated.stderr index cfb1f8b581c85..bdae6bc362c47 100644 --- a/src/test/ui/const-generics/const-param-in-trait-ungated.stderr +++ b/src/test/ui/const-generics/const-param-in-trait-ungated.stderr @@ -4,7 +4,7 @@ error[E0658]: const generics are unstable LL | trait Trait {} | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44580 + = note: see issue #44580 for more information = help: add `#![feature(const_generics)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr b/src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr index c659074a091c8..3a07ec69117a2 100644 --- a/src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr +++ b/src/test/ui/const-generics/const-param-type-depends-on-type-param-ungated.stderr @@ -10,7 +10,7 @@ error[E0658]: const generics are unstable LL | struct B(PhantomData<[T; N]>); | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44580 + = note: see issue #44580 for more information = help: add `#![feature(const_generics)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/const-generics/issue-60263.stderr b/src/test/ui/const-generics/issue-60263.stderr index fe7b6fdb1904d..7b50c442d2f41 100644 --- a/src/test/ui/const-generics/issue-60263.stderr +++ b/src/test/ui/const-generics/issue-60263.stderr @@ -4,7 +4,7 @@ error[E0658]: const generics are unstable LL | struct B; | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44580 + = note: see issue #44580 for more information = help: add `#![feature(const_generics)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/consts/const-deref-ptr.stderr b/src/test/ui/consts/const-deref-ptr.stderr index 6bfb9ee73e6c7..61fcb524319d5 100644 --- a/src/test/ui/consts/const-deref-ptr.stderr +++ b/src/test/ui/consts/const-deref-ptr.stderr @@ -4,7 +4,7 @@ error[E0658]: dereferencing raw pointers in statics is unstable LL | static C: u64 = unsafe {*(0xdeadbeef as *const u64)}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51911 + = note: see issue #51911 for more information = help: add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/consts/const-eval/feature-gate-const_fn_union.stderr b/src/test/ui/consts/const-eval/feature-gate-const_fn_union.stderr index 5bf43cb8b6add..7b261de39e083 100644 --- a/src/test/ui/consts/const-eval/feature-gate-const_fn_union.stderr +++ b/src/test/ui/consts/const-eval/feature-gate-const_fn_union.stderr @@ -4,7 +4,7 @@ error[E0658]: unions in const fn are unstable LL | Foo { u }.i | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51909 + = note: see issue #51909 for more information = help: add `#![feature(const_fn_union)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/consts/const-eval/feature-gate-const_panic.stderr b/src/test/ui/consts/const-eval/feature-gate-const_panic.stderr index ac0ff7025d1c0..8be52e734aa53 100644 --- a/src/test/ui/consts/const-eval/feature-gate-const_panic.stderr +++ b/src/test/ui/consts/const-eval/feature-gate-const_panic.stderr @@ -4,7 +4,7 @@ error[E0658]: panicking in constants is unstable LL | const Z: () = panic!("cheese"); | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51999 + = note: see issue #51999 for more information = help: add `#![feature(const_panic)]` to the crate attributes to enable = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) @@ -14,7 +14,7 @@ error[E0658]: panicking in constants is unstable LL | const X: () = unimplemented!(); | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51999 + = note: see issue #51999 for more information = help: add `#![feature(const_panic)]` to the crate attributes to enable = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) @@ -24,7 +24,7 @@ error[E0658]: panicking in constants is unstable LL | const Y: () = unreachable!(); | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51999 + = note: see issue #51999 for more information = help: add `#![feature(const_panic)]` to the crate attributes to enable = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) diff --git a/src/test/ui/consts/const-eval/issue-52442.stderr b/src/test/ui/consts/const-eval/issue-52442.stderr index 5bd4979bdb33c..53a87837e16e3 100644 --- a/src/test/ui/consts/const-eval/issue-52442.stderr +++ b/src/test/ui/consts/const-eval/issue-52442.stderr @@ -4,7 +4,7 @@ error[E0658]: casting pointers to integers in constants is unstable LL | [(); { &loop { break } as *const _ as usize } ]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51910 + = note: see issue #51910 for more information = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable error[E0080]: evaluation of constant value failed diff --git a/src/test/ui/consts/const-eval/match-test-ptr-null.rs b/src/test/ui/consts/const-eval/match-test-ptr-null.rs index 65b6c8bea09e7..887fb009d1daf 100644 --- a/src/test/ui/consts/const-eval/match-test-ptr-null.rs +++ b/src/test/ui/consts/const-eval/match-test-ptr-null.rs @@ -5,6 +5,7 @@ fn main() { let _: [u8; 0] = [4; { match &1 as *const i32 as usize { //~^ ERROR casting pointers to integers in constants + //~| NOTE "pointer-to-integer cast" needs an rfc before being allowed inside constants //~| NOTE see issue # //~| ERROR constant contains unimplemented expression type //~| ERROR evaluation of constant value failed diff --git a/src/test/ui/consts/const-eval/match-test-ptr-null.stderr b/src/test/ui/consts/const-eval/match-test-ptr-null.stderr index 3d34ac4266270..e1fbcff7bdb00 100644 --- a/src/test/ui/consts/const-eval/match-test-ptr-null.stderr +++ b/src/test/ui/consts/const-eval/match-test-ptr-null.stderr @@ -1,20 +1,20 @@ error[E0658]: casting pointers to integers in constants is unstable --> $DIR/match-test-ptr-null.rs:6:15 | -LL | match &1 as *const i32 as usize { +LL | match &1 as *const i32 as usize { | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51910 + = note: see issue #51910 for more information = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable error[E0019]: constant contains unimplemented expression type --> $DIR/match-test-ptr-null.rs:6:15 | -LL | match &1 as *const i32 as usize { +LL | match &1 as *const i32 as usize { | ^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0019]: constant contains unimplemented expression type - --> $DIR/match-test-ptr-null.rs:10:13 + --> $DIR/match-test-ptr-null.rs:12:13 | LL | 0 => 42, | ^ @@ -22,7 +22,7 @@ LL | 0 => 42, error[E0080]: evaluation of constant value failed --> $DIR/match-test-ptr-null.rs:6:15 | -LL | match &1 as *const i32 as usize { +LL | match &1 as *const i32 as usize { | ^^^^^^^^^^^^^^^^^^^^^^^^^ "pointer-to-integer cast" needs an rfc before being allowed inside constants error: aborting due to 4 previous errors diff --git a/src/test/ui/consts/const_let_refutable.stderr b/src/test/ui/consts/const_let_refutable.stderr index a61c9b0c9fef9..9fd6b2331c7bb 100644 --- a/src/test/ui/consts/const_let_refutable.stderr +++ b/src/test/ui/consts/const_let_refutable.stderr @@ -10,7 +10,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const <&i LL | a + b | ^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0381]: use of possibly uninitialized variable: `a` diff --git a/src/test/ui/consts/const_short_circuit.stderr b/src/test/ui/consts/const_short_circuit.stderr index 0a6536c88372a..b020382af07c8 100644 --- a/src/test/ui/consts/const_short_circuit.stderr +++ b/src/test/ui/consts/const_short_circuit.stderr @@ -4,7 +4,7 @@ error: new features like let bindings are not permitted in constants which also LL | let mut x = true && false; | ^^^^^ | -note: use of `&&` operator here does not actually short circuit due to the const evaluator presently not being able to do control flow. See https://github.com/rust-lang/rust/issues/49146 for more information. +note: use of `&&` operator here does not actually short circuit due to the const evaluator presently not being able to do control flow. See issue #49146 for more information. --> $DIR/const_short_circuit.rs:4:22 | LL | let mut x = true && false; @@ -16,7 +16,7 @@ error: new features like let bindings are not permitted in constants which also LL | let x = true && false; | ^ | -note: use of `&&` operator here does not actually short circuit due to the const evaluator presently not being able to do control flow. See https://github.com/rust-lang/rust/issues/49146 for more information. +note: use of `&&` operator here does not actually short circuit due to the const evaluator presently not being able to do control flow. See issue #49146 for more information. --> $DIR/const_short_circuit.rs:9:18 | LL | let x = true && false; diff --git a/src/test/ui/consts/min_const_fn/allow_const_fn_ptr.stderr b/src/test/ui/consts/min_const_fn/allow_const_fn_ptr.stderr index 6228b012dde38..b035b4a40d661 100644 --- a/src/test/ui/consts/min_const_fn/allow_const_fn_ptr.stderr +++ b/src/test/ui/consts/min_const_fn/allow_const_fn_ptr.stderr @@ -4,7 +4,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn error(_: fn()) {} | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/consts/min_const_fn/allow_const_fn_ptr_feature_gate.stderr b/src/test/ui/consts/min_const_fn/allow_const_fn_ptr_feature_gate.stderr index 70a10d9a0c12a..c8d060f5cdcfe 100644 --- a/src/test/ui/consts/min_const_fn/allow_const_fn_ptr_feature_gate.stderr +++ b/src/test/ui/consts/min_const_fn/allow_const_fn_ptr_feature_gate.stderr @@ -4,7 +4,7 @@ error[E0658]: internal implementation detail LL | #[rustc_allow_const_fn_ptr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/consts/min_const_fn/bad_const_fn_body_ice.stderr b/src/test/ui/consts/min_const_fn/bad_const_fn_body_ice.stderr index ecfd30e7b4439..7f44ae0d45566 100644 --- a/src/test/ui/consts/min_const_fn/bad_const_fn_body_ice.stderr +++ b/src/test/ui/consts/min_const_fn/bad_const_fn_body_ice.stderr @@ -4,7 +4,7 @@ error[E0723]: heap allocations are not allowed in const fn LL | vec![1, 2, 3] | ^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) diff --git a/src/test/ui/consts/min_const_fn/cast_errors.stderr b/src/test/ui/consts/min_const_fn/cast_errors.stderr index 9919c17a04208..a6a05b522a5ae 100644 --- a/src/test/ui/consts/min_const_fn/cast_errors.stderr +++ b/src/test/ui/consts/min_const_fn/cast_errors.stderr @@ -4,7 +4,7 @@ error[E0723]: unsizing casts are not allowed in const fn LL | const fn unsize(x: &[u8; 3]) -> &[u8] { x } | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -13,7 +13,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn closure() -> fn() { || {} } | ^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -22,7 +22,7 @@ error[E0723]: function pointers in const fn are unstable LL | (|| {}) as fn(); | ^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -31,7 +31,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn reify(f: fn()) -> unsafe fn() { f } | ^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -40,7 +40,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn reify2() { main as unsafe fn(); } | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 5 previous errors diff --git a/src/test/ui/consts/min_const_fn/cmp_fn_pointers.stderr b/src/test/ui/consts/min_const_fn/cmp_fn_pointers.stderr index 82ed1d45226fa..74e5228d0dc62 100644 --- a/src/test/ui/consts/min_const_fn/cmp_fn_pointers.stderr +++ b/src/test/ui/consts/min_const_fn/cmp_fn_pointers.stderr @@ -4,7 +4,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn cmp(x: fn(), y: fn()) -> bool { | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/consts/min_const_fn/loop_ice.stderr b/src/test/ui/consts/min_const_fn/loop_ice.stderr index edf983fc56b11..d540052e769db 100644 --- a/src/test/ui/consts/min_const_fn/loop_ice.stderr +++ b/src/test/ui/consts/min_const_fn/loop_ice.stderr @@ -4,7 +4,7 @@ error[E0723]: loops are not allowed in const fn LL | loop {} | ^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/consts/min_const_fn/min_const_fn.nll.stderr b/src/test/ui/consts/min_const_fn/min_const_fn.nll.stderr index 4b43a0d0a1a1b..9c471d2cfc16f 100644 --- a/src/test/ui/consts/min_const_fn/min_const_fn.nll.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_fn.nll.stderr @@ -10,7 +10,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn get_mut(&mut self) -> &mut T { &mut self.0 } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0493]: destructors cannot be evaluated at compile-time @@ -25,7 +25,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn get_mut_lt(&'a mut self) -> &mut T { &mut self.0 } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0493]: destructors cannot be evaluated at compile-time @@ -40,7 +40,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn get_mut_s(&mut self) -> &mut T { &mut self.0 } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: mutable references in const fn are unstable @@ -49,7 +49,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn get_mut_sq(&mut self) -> &mut T { &mut self.0 } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -58,7 +58,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn foo11(t: T) -> T { t } | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -67,7 +67,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn foo11_2(t: T) -> T { t } | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int, `bool` and `char` operations are stable in const fn @@ -76,7 +76,7 @@ error[E0723]: only int, `bool` and `char` operations are stable in const fn LL | const fn foo19(f: f32) -> f32 { f * 2.0 } | ^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int, `bool` and `char` operations are stable in const fn @@ -85,7 +85,7 @@ error[E0723]: only int, `bool` and `char` operations are stable in const fn LL | const fn foo19_2(f: f32) -> f32 { 2.0 - f } | ^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int and `bool` operations are stable in const fn @@ -94,7 +94,7 @@ error[E0723]: only int and `bool` operations are stable in const fn LL | const fn foo19_3(f: f32) -> f32 { -f } | ^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int, `bool` and `char` operations are stable in const fn @@ -103,7 +103,7 @@ error[E0723]: only int, `bool` and `char` operations are stable in const fn LL | const fn foo19_4(f: f32, g: f32) -> f32 { f / g } | ^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: cannot access `static` items in const fn @@ -112,7 +112,7 @@ error[E0723]: cannot access `static` items in const fn LL | const fn foo25() -> u32 { BAR } | ^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: cannot access `static` items in const fn @@ -121,7 +121,7 @@ error[E0723]: cannot access `static` items in const fn LL | const fn foo26() -> &'static u32 { &BAR } | ^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: casting pointers to ints is unstable in const fn @@ -130,7 +130,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const fn foo30(x: *const u32) -> usize { x as usize } | ^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: casting pointers to ints is unstable in const fn @@ -139,7 +139,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const fn foo30_with_unsafe(x: *const u32) -> usize { unsafe { x as usize } } | ^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: casting pointers to ints is unstable in const fn @@ -148,7 +148,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const fn foo30_2(x: *mut u32) -> usize { x as usize } | ^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: casting pointers to ints is unstable in const fn @@ -157,7 +157,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const fn foo30_2_with_unsafe(x: *mut u32) -> usize { unsafe { x as usize } } | ^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: loops and conditional expressions are not stable in const fn @@ -166,7 +166,7 @@ error[E0723]: loops and conditional expressions are not stable in const fn LL | const fn foo30_4(b: bool) -> usize { if b { 1 } else { 42 } } | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: loops are not allowed in const fn @@ -175,7 +175,7 @@ error[E0723]: loops are not allowed in const fn LL | const fn foo30_5(b: bool) { while b { } } | ^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: loops and conditional expressions are not stable in const fn @@ -184,7 +184,7 @@ error[E0723]: loops and conditional expressions are not stable in const fn LL | const fn foo36(a: bool, b: bool) -> bool { a && b } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: loops and conditional expressions are not stable in const fn @@ -193,7 +193,7 @@ error[E0723]: loops and conditional expressions are not stable in const fn LL | const fn foo37(a: bool, b: bool) -> bool { a || b } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: mutable references in const fn are unstable @@ -202,7 +202,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn inc(x: &mut i32) { *x += 1 } | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -211,7 +211,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | impl Foo { | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -220,7 +220,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | impl Foo { | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -229,7 +229,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | impl Foo { | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: `impl Trait` in const fn is unstable @@ -238,7 +238,7 @@ error[E0723]: `impl Trait` in const fn is unstable LL | const fn no_rpit2() -> AlanTuring { AlanTuring(0) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -247,7 +247,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_apit2(_x: AlanTuring) {} | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -256,7 +256,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_apit(_x: impl std::fmt::Debug) {} | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: `impl Trait` in const fn is unstable @@ -265,7 +265,7 @@ error[E0723]: `impl Trait` in const fn is unstable LL | const fn no_rpit() -> impl std::fmt::Debug {} | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -274,7 +274,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_dyn_trait(_x: &dyn std::fmt::Debug) {} | ^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -283,7 +283,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_dyn_trait_ret() -> &'static dyn std::fmt::Debug { &() } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0515]: cannot return reference to temporary value @@ -301,7 +301,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn really_no_traits_i_mean_it() { (&() as &dyn std::fmt::Debug, ()).1 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -310,7 +310,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn no_fn_ptrs(_x: fn()) {} | ^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -319,7 +319,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn no_fn_ptrs2() -> fn() { fn foo() {} foo } | ^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 37 previous errors diff --git a/src/test/ui/consts/min_const_fn/min_const_fn.stderr b/src/test/ui/consts/min_const_fn/min_const_fn.stderr index 211902b687b1b..7fee06df1a1eb 100644 --- a/src/test/ui/consts/min_const_fn/min_const_fn.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_fn.stderr @@ -10,7 +10,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn get_mut(&mut self) -> &mut T { &mut self.0 } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0493]: destructors cannot be evaluated at compile-time @@ -25,7 +25,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn get_mut_lt(&'a mut self) -> &mut T { &mut self.0 } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0493]: destructors cannot be evaluated at compile-time @@ -40,7 +40,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn get_mut_s(&mut self) -> &mut T { &mut self.0 } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: mutable references in const fn are unstable @@ -49,7 +49,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn get_mut_sq(&mut self) -> &mut T { &mut self.0 } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -58,7 +58,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn foo11(t: T) -> T { t } | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -67,7 +67,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn foo11_2(t: T) -> T { t } | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int, `bool` and `char` operations are stable in const fn @@ -76,7 +76,7 @@ error[E0723]: only int, `bool` and `char` operations are stable in const fn LL | const fn foo19(f: f32) -> f32 { f * 2.0 } | ^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int, `bool` and `char` operations are stable in const fn @@ -85,7 +85,7 @@ error[E0723]: only int, `bool` and `char` operations are stable in const fn LL | const fn foo19_2(f: f32) -> f32 { 2.0 - f } | ^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int and `bool` operations are stable in const fn @@ -94,7 +94,7 @@ error[E0723]: only int and `bool` operations are stable in const fn LL | const fn foo19_3(f: f32) -> f32 { -f } | ^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int, `bool` and `char` operations are stable in const fn @@ -103,7 +103,7 @@ error[E0723]: only int, `bool` and `char` operations are stable in const fn LL | const fn foo19_4(f: f32, g: f32) -> f32 { f / g } | ^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: cannot access `static` items in const fn @@ -112,7 +112,7 @@ error[E0723]: cannot access `static` items in const fn LL | const fn foo25() -> u32 { BAR } | ^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: cannot access `static` items in const fn @@ -121,7 +121,7 @@ error[E0723]: cannot access `static` items in const fn LL | const fn foo26() -> &'static u32 { &BAR } | ^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: casting pointers to ints is unstable in const fn @@ -130,7 +130,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const fn foo30(x: *const u32) -> usize { x as usize } | ^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: casting pointers to ints is unstable in const fn @@ -139,7 +139,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const fn foo30_with_unsafe(x: *const u32) -> usize { unsafe { x as usize } } | ^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: casting pointers to ints is unstable in const fn @@ -148,7 +148,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const fn foo30_2(x: *mut u32) -> usize { x as usize } | ^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: casting pointers to ints is unstable in const fn @@ -157,7 +157,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const fn foo30_2_with_unsafe(x: *mut u32) -> usize { unsafe { x as usize } } | ^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: loops and conditional expressions are not stable in const fn @@ -166,7 +166,7 @@ error[E0723]: loops and conditional expressions are not stable in const fn LL | const fn foo30_4(b: bool) -> usize { if b { 1 } else { 42 } } | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: loops are not allowed in const fn @@ -175,7 +175,7 @@ error[E0723]: loops are not allowed in const fn LL | const fn foo30_5(b: bool) { while b { } } | ^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: loops and conditional expressions are not stable in const fn @@ -184,7 +184,7 @@ error[E0723]: loops and conditional expressions are not stable in const fn LL | const fn foo36(a: bool, b: bool) -> bool { a && b } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: loops and conditional expressions are not stable in const fn @@ -193,7 +193,7 @@ error[E0723]: loops and conditional expressions are not stable in const fn LL | const fn foo37(a: bool, b: bool) -> bool { a || b } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: mutable references in const fn are unstable @@ -202,7 +202,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn inc(x: &mut i32) { *x += 1 } | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -211,7 +211,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | impl Foo { | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -220,7 +220,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | impl Foo { | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -229,7 +229,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | impl Foo { | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: `impl Trait` in const fn is unstable @@ -238,7 +238,7 @@ error[E0723]: `impl Trait` in const fn is unstable LL | const fn no_rpit2() -> AlanTuring { AlanTuring(0) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -247,7 +247,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_apit2(_x: AlanTuring) {} | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -256,7 +256,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_apit(_x: impl std::fmt::Debug) {} | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: `impl Trait` in const fn is unstable @@ -265,7 +265,7 @@ error[E0723]: `impl Trait` in const fn is unstable LL | const fn no_rpit() -> impl std::fmt::Debug {} | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -274,7 +274,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_dyn_trait(_x: &dyn std::fmt::Debug) {} | ^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -283,7 +283,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_dyn_trait_ret() -> &'static dyn std::fmt::Debug { &() } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable warning[E0515]: cannot return reference to temporary value @@ -305,7 +305,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn really_no_traits_i_mean_it() { (&() as &dyn std::fmt::Debug, ()).1 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -314,7 +314,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn no_fn_ptrs(_x: fn()) {} | ^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -323,7 +323,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn no_fn_ptrs2() -> fn() { fn foo() {} foo } | ^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 36 previous errors diff --git a/src/test/ui/consts/min_const_fn/min_const_fn_dyn.nll.stderr b/src/test/ui/consts/min_const_fn/min_const_fn_dyn.nll.stderr index 0ea950d678f87..fc84461abd256 100644 --- a/src/test/ui/consts/min_const_fn/min_const_fn_dyn.nll.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_fn_dyn.nll.stderr @@ -4,7 +4,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | x.0.field; | ^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -13,7 +13,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_inner_dyn_trait_ret() -> Hide { Hide(HasDyn { field: &0 }) } | ^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0716]: temporary value dropped while borrowed diff --git a/src/test/ui/consts/min_const_fn/min_const_fn_dyn.stderr b/src/test/ui/consts/min_const_fn/min_const_fn_dyn.stderr index 02ddb0395296c..fdf70b4f08547 100644 --- a/src/test/ui/consts/min_const_fn/min_const_fn_dyn.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_fn_dyn.stderr @@ -4,7 +4,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | x.0.field; | ^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable @@ -13,7 +13,7 @@ error[E0723]: trait bounds other than `Sized` on const fn parameters are unstabl LL | const fn no_inner_dyn_trait_ret() -> Hide { Hide(HasDyn { field: &0 }) } | ^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable warning[E0716]: temporary value dropped while borrowed diff --git a/src/test/ui/consts/min_const_fn/min_const_fn_fn_ptr.stderr b/src/test/ui/consts/min_const_fn/min_const_fn_fn_ptr.stderr index 085ad1aad3a95..58acbb5339aff 100644 --- a/src/test/ui/consts/min_const_fn/min_const_fn_fn_ptr.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_fn_fn_ptr.stderr @@ -4,7 +4,7 @@ error[E0723]: function pointers in const fn are unstable LL | x.0.field; | ^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: function pointers in const fn are unstable @@ -13,7 +13,7 @@ error[E0723]: function pointers in const fn are unstable LL | const fn no_inner_dyn_trait_ret() -> Hide { Hide(HasPtr { field }) } | ^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/consts/min_const_fn/min_const_fn_libstd_stability.stderr b/src/test/ui/consts/min_const_fn/min_const_fn_libstd_stability.stderr index 0af5bdca815f9..a8797349f198c 100644 --- a/src/test/ui/consts/min_const_fn/min_const_fn_libstd_stability.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_fn_libstd_stability.stderr @@ -4,7 +4,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const fn bar() -> u32 { foo() } | ^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: can only call other `const fn` within a `const fn`, but `const foo2` is not stable as `const fn` @@ -13,7 +13,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const fn bar2() -> u32 { foo2() } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int, `bool` and `char` operations are stable in const fn @@ -22,7 +22,7 @@ error[E0723]: only int, `bool` and `char` operations are stable in const fn LL | const fn bar3() -> u32 { (5f32 + 6f32) as u32 } | ^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: can only call other `const fn` within a `const fn`, but `const foo2_gated` is not stable as `const fn` @@ -31,7 +31,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const fn bar2_gated() -> u32 { foo2_gated() } | ^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 4 previous errors diff --git a/src/test/ui/consts/min_const_fn/min_const_fn_unsafe.stderr b/src/test/ui/consts/min_const_fn/min_const_fn_unsafe.stderr index d3f2ece1f9294..50ead1b454e57 100644 --- a/src/test/ui/consts/min_const_fn/min_const_fn_unsafe.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_fn_unsafe.stderr @@ -4,7 +4,7 @@ error[E0658]: dereferencing raw pointers in constant functions is unstable LL | const fn bad_const_fn_deref_raw(x: *mut usize) -> &'static usize { unsafe { &*x } } | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51911 + = note: see issue #51911 for more information = help: add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable error[E0658]: dereferencing raw pointers in constant functions is unstable @@ -13,7 +13,7 @@ error[E0658]: dereferencing raw pointers in constant functions is unstable LL | const unsafe fn bad_const_unsafe_deref_raw(x: *mut usize) -> usize { *x } | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51911 + = note: see issue #51911 for more information = help: add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable error[E0658]: dereferencing raw pointers in constant functions is unstable @@ -22,7 +22,7 @@ error[E0658]: dereferencing raw pointers in constant functions is unstable LL | const unsafe fn bad_const_unsafe_deref_raw_ref(x: *mut usize) -> &'static usize { &*x } | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51911 + = note: see issue #51911 for more information = help: add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable error[E0658]: unions in const fn are unstable @@ -31,7 +31,7 @@ error[E0658]: unions in const fn are unstable LL | Foo { x: () }.y | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51909 + = note: see issue #51909 for more information = help: add `#![feature(const_fn_union)]` to the crate attributes to enable error[E0133]: dereference of raw pointer is unsafe and requires unsafe function or block diff --git a/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability.stderr b/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability.stderr index bc6f8c596060f..765cf9ef082d0 100644 --- a/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability.stderr @@ -4,7 +4,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const unsafe fn bar() -> u32 { unsafe { foo() } } | ^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: can only call other `const fn` within a `const fn`, but `const foo2` is not stable as `const fn` @@ -13,7 +13,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const unsafe fn bar2() -> u32 { unsafe { foo2() } } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: only int, `bool` and `char` operations are stable in const fn @@ -22,7 +22,7 @@ error[E0723]: only int, `bool` and `char` operations are stable in const fn LL | const unsafe fn bar3() -> u32 { (5f32 + 6f32) as u32 } | ^^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: can only call other `const fn` within a `const fn`, but `const foo2_gated` is not stable as `const fn` @@ -31,7 +31,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const unsafe fn bar2_gated() -> u32 { unsafe { foo2_gated() } } | ^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 4 previous errors diff --git a/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr b/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr index a14fd740c670a..f3e75085d4c3f 100644 --- a/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr @@ -4,7 +4,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const unsafe fn bar() -> u32 { foo() } | ^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: can only call other `const fn` within a `const fn`, but `const foo2` is not stable as `const fn` @@ -13,7 +13,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const unsafe fn bar2() -> u32 { foo2() } | ^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: can only call other `const fn` within a `const fn`, but `const foo2_gated` is not stable as `const fn` @@ -22,7 +22,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const foo LL | const unsafe fn bar2_gated() -> u32 { foo2_gated() } | ^^^^^^^^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/consts/min_const_fn/mutable_borrow.stderr b/src/test/ui/consts/min_const_fn/mutable_borrow.stderr index 7c121be0d552d..f5a3c168a86d7 100644 --- a/src/test/ui/consts/min_const_fn/mutable_borrow.stderr +++ b/src/test/ui/consts/min_const_fn/mutable_borrow.stderr @@ -4,7 +4,7 @@ error[E0723]: mutable references in const fn are unstable LL | let b = &mut a; | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: mutable references in const fn are unstable @@ -13,7 +13,7 @@ error[E0723]: mutable references in const fn are unstable LL | let b = &mut a; | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/consts/projection_qualif.stderr b/src/test/ui/consts/projection_qualif.stderr index 0c09f7ec52fa2..ef1184ee82da4 100644 --- a/src/test/ui/consts/projection_qualif.stderr +++ b/src/test/ui/consts/projection_qualif.stderr @@ -16,7 +16,7 @@ error[E0658]: dereferencing raw pointers in constants is unstable LL | unsafe { *b = 5; } | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51911 + = note: see issue #51911 for more information = help: add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/consts/single_variant_match_ice.stderr b/src/test/ui/consts/single_variant_match_ice.stderr index 3f37a6c645056..516b0c733143c 100644 --- a/src/test/ui/consts/single_variant_match_ice.stderr +++ b/src/test/ui/consts/single_variant_match_ice.stderr @@ -16,7 +16,7 @@ error[E0723]: loops and conditional expressions are not stable in const fn LL | match *self { | ^^^^^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/defaulted-never-note.stderr b/src/test/ui/defaulted-never-note.stderr index 45174c322947d..29224f8c2e107 100644 --- a/src/test/ui/defaulted-never-note.stderr +++ b/src/test/ui/defaulted-never-note.stderr @@ -4,7 +4,7 @@ error[E0277]: the trait bound `!: ImplementedForUnitButNotNever` is not satisfie LL | foo(_x); | ^^^ the trait `ImplementedForUnitButNotNever` is not implemented for `!` | - = note: the trait is implemented for `()`. Possibly this error has been caused by changes to Rust's type-inference algorithm (see: https://github.com/rust-lang/rust/issues/48950 for more info). Consider whether you meant to use the type `()` here instead. + = note: the trait is implemented for `()`. Possibly this error has been caused by changes to Rust's type-inference algorithm (see issue #48950 for more info). Consider whether you meant to use the type `()` here instead. note: required by `foo` --> $DIR/defaulted-never-note.rs:21:1 | diff --git a/src/test/ui/derives/deriving-with-repr-packed.stderr b/src/test/ui/derives/deriving-with-repr-packed.stderr index 8093c58a67e42..291ba754605fd 100644 --- a/src/test/ui/derives/deriving-with-repr-packed.stderr +++ b/src/test/ui/derives/deriving-with-repr-packed.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(safe_packed_borrows)] | ^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #46043 + = note: see issue #46043 for more information error: `#[derive]` can't be used on a `#[repr(packed)]` struct with type or const parameters (error E0133) --> $DIR/deriving-with-repr-packed.rs:8:23 @@ -19,7 +19,7 @@ LL | #[derive(Copy, Clone, PartialEq, Eq)] | ^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #46043 + = note: see issue #46043 for more information error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) --> $DIR/deriving-with-repr-packed.rs:16:10 @@ -28,7 +28,7 @@ LL | #[derive(PartialEq, Eq)] | ^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #46043 + = note: see issue #46043 for more information error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) --> $DIR/deriving-with-repr-packed.rs:25:10 @@ -37,7 +37,7 @@ LL | #[derive(PartialEq)] | ^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #46043 + = note: see issue #46043 for more information error: aborting due to 4 previous errors diff --git a/src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.stderr b/src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.stderr index 361727733bc57..c19796800460c 100644 --- a/src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.stderr +++ b/src/test/ui/dyn-keyword/dyn-2015-edition-keyword-ident-lint.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(keyword_idents)] | ^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:16:20 @@ -19,7 +19,7 @@ LL | pub struct dyn; | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:21:16 @@ -28,7 +28,7 @@ LL | use outer_mod::dyn::dyn; | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:21:21 @@ -37,7 +37,7 @@ LL | use outer_mod::dyn::dyn; | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:28:11 @@ -46,7 +46,7 @@ LL | match dyn { dyn => {} } | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:28:17 @@ -55,7 +55,7 @@ LL | match dyn { dyn => {} } | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:33:17 @@ -64,7 +64,7 @@ LL | macro_defn::dyn(); | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:43:18 @@ -73,7 +73,7 @@ LL | macro_rules! dyn { | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:51:12 @@ -82,7 +82,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn { | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:51:34 @@ -91,7 +91,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn { | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:51:39 @@ -100,7 +100,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn { | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:58:22 @@ -109,7 +109,7 @@ LL | ::outer_mod::dyn::dyn | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:58:27 @@ -118,7 +118,7 @@ LL | ::outer_mod::dyn::dyn | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `dyn` is a keyword in the 2018 edition --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:67:23 @@ -127,7 +127,7 @@ LL | pub fn boxed() -> dyn!( | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: aborting due to 14 previous errors diff --git a/src/test/ui/editions/edition-raw-pointer-method-2015.stderr b/src/test/ui/editions/edition-raw-pointer-method-2015.stderr index 6a8861ba67bb9..d1aaa77bba1be 100644 --- a/src/test/ui/editions/edition-raw-pointer-method-2015.stderr +++ b/src/test/ui/editions/edition-raw-pointer-method-2015.stderr @@ -11,7 +11,7 @@ LL | #[deny(warnings)] | ^^^^^^^^ = note: `#[deny(tyvar_behind_raw_pointer)]` implied by `#[deny(warnings)]` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #46906 + = note: see issue #46906 for more information error: aborting due to previous error diff --git a/src/test/ui/enum-discriminant/feature-gate-arbitrary_enum_discriminant.stderr b/src/test/ui/enum-discriminant/feature-gate-arbitrary_enum_discriminant.stderr index afd7bda49fd70..b5f61e6e991d8 100644 --- a/src/test/ui/enum-discriminant/feature-gate-arbitrary_enum_discriminant.stderr +++ b/src/test/ui/enum-discriminant/feature-gate-arbitrary_enum_discriminant.stderr @@ -4,7 +4,7 @@ error[E0658]: discriminants on non-unit variants are experimental LL | Tuple() = 2, | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/60553 + = note: see issue #60553 for more information = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable error[E0658]: discriminants on non-unit variants are experimental @@ -13,7 +13,7 @@ error[E0658]: discriminants on non-unit variants are experimental LL | Struct{} = 3, | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/60553 + = note: see issue #60553 for more information = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants @@ -28,7 +28,7 @@ LL | LL | Struct{} = 3, | ------------ struct variant defined here | - = note: for more information, see https://github.com/rust-lang/rust/issues/60553 + = note: see issue #60553 for more information = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/error-codes/E0395.stderr b/src/test/ui/error-codes/E0395.stderr index a4580f1cb2342..20c8622f33726 100644 --- a/src/test/ui/error-codes/E0395.stderr +++ b/src/test/ui/error-codes/E0395.stderr @@ -4,7 +4,7 @@ error[E0658]: comparing raw pointers inside static LL | static BAZ: bool = unsafe { (&FOO as *const i32) == (&BAR as *const i32) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53020 + = note: see issue #53020 for more information = help: add `#![feature(const_compare_raw_pointers)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/error-codes/E0396.stderr b/src/test/ui/error-codes/E0396.stderr index f0aa739a6934a..7d2544f939f71 100644 --- a/src/test/ui/error-codes/E0396.stderr +++ b/src/test/ui/error-codes/E0396.stderr @@ -4,7 +4,7 @@ error[E0658]: dereferencing raw pointers in constants is unstable LL | const VALUE: u8 = unsafe { *REG_ADDR }; | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51911 + = note: see issue #51911 for more information = help: add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/error-codes/E0658.stderr b/src/test/ui/error-codes/E0658.stderr index 071dbccd80ba0..6a9f31f052f96 100644 --- a/src/test/ui/error-codes/E0658.stderr +++ b/src/test/ui/error-codes/E0658.stderr @@ -6,7 +6,7 @@ LL | | Bar(u64), LL | | } | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/35118 + = note: see issue #35118 for more information = help: add `#![feature(repr128)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/explore-issue-38412.stderr b/src/test/ui/explore-issue-38412.stderr index 547874cefdd4e..4c80989951abc 100644 --- a/src/test/ui/explore-issue-38412.stderr +++ b/src/test/ui/explore-issue-38412.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'unstable_undeclared' LL | let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38412 + = note: see issue #38412 for more information = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'unstable_undeclared' @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'unstable_undeclared' LL | r.a_unstable_undeclared_pub; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38412 + = note: see issue #38412 for more information = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable error[E0616]: field `b_crate` of struct `pub_and_stability::Record` is private @@ -40,7 +40,7 @@ error[E0658]: use of unstable library feature 'unstable_undeclared' LL | t.2; | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38412 + = note: see issue #38412 for more information = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable error[E0616]: field `3` of struct `pub_and_stability::Tuple` is private @@ -67,7 +67,7 @@ error[E0658]: use of unstable library feature 'unstable_undeclared' LL | r.unstable_undeclared_trait_method(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38412 + = note: see issue #38412 for more information = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'unstable_undeclared' @@ -76,7 +76,7 @@ error[E0658]: use of unstable library feature 'unstable_undeclared' LL | r.unstable_undeclared(); | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38412 + = note: see issue #38412 for more information = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable error[E0624]: method `pub_crate` is private @@ -103,7 +103,7 @@ error[E0658]: use of unstable library feature 'unstable_undeclared' LL | t.unstable_undeclared_trait_method(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38412 + = note: see issue #38412 for more information = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'unstable_undeclared' @@ -112,7 +112,7 @@ error[E0658]: use of unstable library feature 'unstable_undeclared' LL | t.unstable_undeclared(); | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38412 + = note: see issue #38412 for more information = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable error[E0624]: method `pub_crate` is private diff --git a/src/test/ui/feature-gate-optimize_attribute.stderr b/src/test/ui/feature-gate-optimize_attribute.stderr index 4ec512eaf39a4..604e5534b38b6 100644 --- a/src/test/ui/feature-gate-optimize_attribute.stderr +++ b/src/test/ui/feature-gate-optimize_attribute.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[optimize]` attribute is an unstable feature LL | #[optimize(size)] | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54882 + = note: see issue #54882 for more information = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable error[E0658]: `#[optimize]` attribute is an unstable feature @@ -13,7 +13,7 @@ error[E0658]: `#[optimize]` attribute is an unstable feature LL | #[optimize(speed)] | ^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54882 + = note: see issue #54882 for more information = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable error[E0658]: `#[optimize]` attribute is an unstable feature @@ -22,7 +22,7 @@ error[E0658]: `#[optimize]` attribute is an unstable feature LL | #[optimize(banana)] | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54882 + = note: see issue #54882 for more information = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable error[E0658]: `#[optimize]` attribute is an unstable feature @@ -31,7 +31,7 @@ error[E0658]: `#[optimize]` attribute is an unstable feature LL | #[optimize(size)] | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54882 + = note: see issue #54882 for more information = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable error[E0658]: `#[optimize]` attribute is an unstable feature @@ -40,7 +40,7 @@ error[E0658]: `#[optimize]` attribute is an unstable feature LL | #![optimize(speed)] | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54882 + = note: see issue #54882 for more information = help: add `#![feature(optimize_attribute)]` to the crate attributes to enable error[E0722]: invalid argument diff --git a/src/test/ui/feature-gate/feature-gate-c_variadic.stderr b/src/test/ui/feature-gate/feature-gate-c_variadic.stderr index a446b105480c9..7b3af8d994f62 100644 --- a/src/test/ui/feature-gate/feature-gate-c_variadic.stderr +++ b/src/test/ui/feature-gate/feature-gate-c_variadic.stderr @@ -4,7 +4,7 @@ error[E0658]: C-variadic functions are unstable LL | pub unsafe extern "C" fn test(_: i32, ap: ...) { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44930 + = note: see issue #44930 for more information = help: add `#![feature(c_variadic)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gate/feature-gate-cfg_doctest.stderr b/src/test/ui/feature-gate/feature-gate-cfg_doctest.stderr index 5ab45e01e50c5..7fd714b88a9b2 100644 --- a/src/test/ui/feature-gate/feature-gate-cfg_doctest.stderr +++ b/src/test/ui/feature-gate/feature-gate-cfg_doctest.stderr @@ -4,7 +4,7 @@ error[E0658]: `cfg(doctest)` is experimental and subject to change LL | #[cfg(doctest)] | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62210 + = note: see issue #62210 for more information = help: add `#![feature(cfg_doctest)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gate/feature-gate-static-nobundle-2.stderr b/src/test/ui/feature-gate/feature-gate-static-nobundle-2.stderr index 059559dd92831..a24c66f8d8fd8 100644 --- a/src/test/ui/feature-gate/feature-gate-static-nobundle-2.stderr +++ b/src/test/ui/feature-gate/feature-gate-static-nobundle-2.stderr @@ -1,6 +1,6 @@ error[E0658]: kind="static-nobundle" is feature gated | - = note: for more information, see https://github.com/rust-lang/rust/issues/37403 + = note: see issue #37403 for more information = help: add `#![feature(static_nobundle)]` to the crate attributes to enable error: aborting due to previous error 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 4310a0c7d588e..a8e7acf4d19d4 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 @@ -6,7 +6,7 @@ LL | #[inline = "2100"] fn f() { } | = note: `#[warn(ill_formed_attribute_input)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57571 + = note: see issue #57571 for more information error[E0518]: attribute should be applied to function or closure --> $DIR/issue-43106-gating-of-inline.rs:11:1 diff --git a/src/test/ui/feature-gate/rustc-private.stderr b/src/test/ui/feature-gate/rustc-private.stderr index be320718145e0..1a8536d37d6f7 100644 --- a/src/test/ui/feature-gate/rustc-private.stderr +++ b/src/test/ui/feature-gate/rustc-private.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei LL | extern crate libc; | ^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27812 + = note: see issue #27812 for more information = help: add `#![feature(rustc_private)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-abi-msp430-interrupt.stderr b/src/test/ui/feature-gates/feature-gate-abi-msp430-interrupt.stderr index 0d2e355535dee..3aaaa4c85071b 100644 --- a/src/test/ui/feature-gates/feature-gate-abi-msp430-interrupt.stderr +++ b/src/test/ui/feature-gates/feature-gate-abi-msp430-interrupt.stderr @@ -4,7 +4,7 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change LL | extern "msp430-interrupt" fn foo() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38487 + = note: see issue #38487 for more information = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-abi.stderr b/src/test/ui/feature-gates/feature-gate-abi.stderr index 88e0b8667be54..07503d8ce6900 100644 --- a/src/test/ui/feature-gates/feature-gate-abi.stderr +++ b/src/test/ui/feature-gates/feature-gate-abi.stderr @@ -12,7 +12,7 @@ error[E0658]: platform intrinsics are experimental and possibly buggy LL | extern "platform-intrinsic" fn f2() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable error[E0658]: vectorcall is experimental and subject to change @@ -29,7 +29,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn f4() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: msp430-interrupt ABI is experimental and subject to change @@ -38,7 +38,7 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change LL | extern "msp430-interrupt" fn f5() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38487 + = note: see issue #38487 for more information = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable error[E0658]: PTX ABIs are experimental and subject to change @@ -47,7 +47,7 @@ error[E0658]: PTX ABIs are experimental and subject to change LL | extern "ptx-kernel" fn f6() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38788 + = note: see issue #38788 for more information = help: add `#![feature(abi_ptx)]` to the crate attributes to enable error[E0658]: x86-interrupt ABI is experimental and subject to change @@ -56,7 +56,7 @@ error[E0658]: x86-interrupt ABI is experimental and subject to change LL | extern "x86-interrupt" fn f7() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/40180 + = note: see issue #40180 for more information = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable error[E0658]: thiscall is experimental and subject to change @@ -73,7 +73,7 @@ error[E0658]: amdgpu-kernel ABI is experimental and subject to change LL | extern "amdgpu-kernel" fn f9() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51575 + = note: see issue #51575 for more information = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -90,7 +90,7 @@ error[E0658]: platform intrinsics are experimental and possibly buggy LL | extern "platform-intrinsic" fn m2(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable error[E0658]: vectorcall is experimental and subject to change @@ -107,7 +107,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn m4(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: msp430-interrupt ABI is experimental and subject to change @@ -116,7 +116,7 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change LL | extern "msp430-interrupt" fn m5(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38487 + = note: see issue #38487 for more information = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable error[E0658]: PTX ABIs are experimental and subject to change @@ -125,7 +125,7 @@ error[E0658]: PTX ABIs are experimental and subject to change LL | extern "ptx-kernel" fn m6(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38788 + = note: see issue #38788 for more information = help: add `#![feature(abi_ptx)]` to the crate attributes to enable error[E0658]: x86-interrupt ABI is experimental and subject to change @@ -134,7 +134,7 @@ error[E0658]: x86-interrupt ABI is experimental and subject to change LL | extern "x86-interrupt" fn m7(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/40180 + = note: see issue #40180 for more information = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable error[E0658]: thiscall is experimental and subject to change @@ -151,7 +151,7 @@ error[E0658]: amdgpu-kernel ABI is experimental and subject to change LL | extern "amdgpu-kernel" fn m9(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51575 + = note: see issue #51575 for more information = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -168,7 +168,7 @@ error[E0658]: platform intrinsics are experimental and possibly buggy LL | extern "platform-intrinsic" fn dm2() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable error[E0658]: vectorcall is experimental and subject to change @@ -185,7 +185,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn dm4() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: msp430-interrupt ABI is experimental and subject to change @@ -194,7 +194,7 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change LL | extern "msp430-interrupt" fn dm5() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38487 + = note: see issue #38487 for more information = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable error[E0658]: PTX ABIs are experimental and subject to change @@ -203,7 +203,7 @@ error[E0658]: PTX ABIs are experimental and subject to change LL | extern "ptx-kernel" fn dm6() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38788 + = note: see issue #38788 for more information = help: add `#![feature(abi_ptx)]` to the crate attributes to enable error[E0658]: x86-interrupt ABI is experimental and subject to change @@ -212,7 +212,7 @@ error[E0658]: x86-interrupt ABI is experimental and subject to change LL | extern "x86-interrupt" fn dm7() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/40180 + = note: see issue #40180 for more information = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable error[E0658]: thiscall is experimental and subject to change @@ -229,7 +229,7 @@ error[E0658]: amdgpu-kernel ABI is experimental and subject to change LL | extern "amdgpu-kernel" fn dm9() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51575 + = note: see issue #51575 for more information = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -246,7 +246,7 @@ error[E0658]: platform intrinsics are experimental and possibly buggy LL | extern "platform-intrinsic" fn m2() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable error[E0658]: vectorcall is experimental and subject to change @@ -263,7 +263,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn m4() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: msp430-interrupt ABI is experimental and subject to change @@ -272,7 +272,7 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change LL | extern "msp430-interrupt" fn m5() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38487 + = note: see issue #38487 for more information = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable error[E0658]: PTX ABIs are experimental and subject to change @@ -281,7 +281,7 @@ error[E0658]: PTX ABIs are experimental and subject to change LL | extern "ptx-kernel" fn m6() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38788 + = note: see issue #38788 for more information = help: add `#![feature(abi_ptx)]` to the crate attributes to enable error[E0658]: x86-interrupt ABI is experimental and subject to change @@ -290,7 +290,7 @@ error[E0658]: x86-interrupt ABI is experimental and subject to change LL | extern "x86-interrupt" fn m7() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/40180 + = note: see issue #40180 for more information = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable error[E0658]: thiscall is experimental and subject to change @@ -307,7 +307,7 @@ error[E0658]: amdgpu-kernel ABI is experimental and subject to change LL | extern "amdgpu-kernel" fn m9() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51575 + = note: see issue #51575 for more information = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -324,7 +324,7 @@ error[E0658]: platform intrinsics are experimental and possibly buggy LL | extern "platform-intrinsic" fn im2() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable error[E0658]: vectorcall is experimental and subject to change @@ -341,7 +341,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn im4() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: msp430-interrupt ABI is experimental and subject to change @@ -350,7 +350,7 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change LL | extern "msp430-interrupt" fn im5() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38487 + = note: see issue #38487 for more information = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable error[E0658]: PTX ABIs are experimental and subject to change @@ -359,7 +359,7 @@ error[E0658]: PTX ABIs are experimental and subject to change LL | extern "ptx-kernel" fn im6() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38788 + = note: see issue #38788 for more information = help: add `#![feature(abi_ptx)]` to the crate attributes to enable error[E0658]: x86-interrupt ABI is experimental and subject to change @@ -368,7 +368,7 @@ error[E0658]: x86-interrupt ABI is experimental and subject to change LL | extern "x86-interrupt" fn im7() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/40180 + = note: see issue #40180 for more information = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable error[E0658]: thiscall is experimental and subject to change @@ -385,7 +385,7 @@ error[E0658]: amdgpu-kernel ABI is experimental and subject to change LL | extern "amdgpu-kernel" fn im9() {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51575 + = note: see issue #51575 for more information = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -402,7 +402,7 @@ error[E0658]: platform intrinsics are experimental and possibly buggy LL | type A2 = extern "platform-intrinsic" fn(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable error[E0658]: vectorcall is experimental and subject to change @@ -419,7 +419,7 @@ error[E0658]: rust-call ABI is subject to change LL | type A4 = extern "rust-call" fn(); | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: msp430-interrupt ABI is experimental and subject to change @@ -428,7 +428,7 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change LL | type A5 = extern "msp430-interrupt" fn(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38487 + = note: see issue #38487 for more information = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable error[E0658]: PTX ABIs are experimental and subject to change @@ -437,7 +437,7 @@ error[E0658]: PTX ABIs are experimental and subject to change LL | type A6 = extern "ptx-kernel" fn (); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38788 + = note: see issue #38788 for more information = help: add `#![feature(abi_ptx)]` to the crate attributes to enable error[E0658]: x86-interrupt ABI is experimental and subject to change @@ -446,7 +446,7 @@ error[E0658]: x86-interrupt ABI is experimental and subject to change LL | type A7 = extern "x86-interrupt" fn(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/40180 + = note: see issue #40180 for more information = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable error[E0658]: thiscall is experimental and subject to change @@ -463,7 +463,7 @@ error[E0658]: amdgpu-kernel ABI is experimental and subject to change LL | type A9 = extern "amdgpu-kernel" fn(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51575 + = note: see issue #51575 for more information = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -480,7 +480,7 @@ error[E0658]: platform intrinsics are experimental and possibly buggy LL | extern "platform-intrinsic" {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable error[E0658]: vectorcall is experimental and subject to change @@ -497,7 +497,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" {} | ^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: msp430-interrupt ABI is experimental and subject to change @@ -506,7 +506,7 @@ error[E0658]: msp430-interrupt ABI is experimental and subject to change LL | extern "msp430-interrupt" {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38487 + = note: see issue #38487 for more information = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable error[E0658]: PTX ABIs are experimental and subject to change @@ -515,7 +515,7 @@ error[E0658]: PTX ABIs are experimental and subject to change LL | extern "ptx-kernel" {} | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/38788 + = note: see issue #38788 for more information = help: add `#![feature(abi_ptx)]` to the crate attributes to enable error[E0658]: x86-interrupt ABI is experimental and subject to change @@ -524,7 +524,7 @@ error[E0658]: x86-interrupt ABI is experimental and subject to change LL | extern "x86-interrupt" {} | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/40180 + = note: see issue #40180 for more information = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable error[E0658]: thiscall is experimental and subject to change @@ -541,7 +541,7 @@ error[E0658]: amdgpu-kernel ABI is experimental and subject to change LL | extern "amdgpu-kernel" {} | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51575 + = note: see issue #51575 for more information = help: add `#![feature(abi_amdgpu_kernel)]` to the crate attributes to enable error: aborting due to 63 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-alloc-error-handler.stderr b/src/test/ui/feature-gates/feature-gate-alloc-error-handler.stderr index d18cc09ffe777..b17a1ae223f99 100644 --- a/src/test/ui/feature-gates/feature-gate-alloc-error-handler.stderr +++ b/src/test/ui/feature-gates/feature-gate-alloc-error-handler.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[alloc_error_handler]` is an unstable feature LL | #[alloc_error_handler] | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51540 + = note: see issue #51540 for more information = help: add `#![feature(alloc_error_handler)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-allow_fail.stderr b/src/test/ui/feature-gates/feature-gate-allow_fail.stderr index 37bf3a262aaa0..9fee2422fd1d0 100644 --- a/src/test/ui/feature-gates/feature-gate-allow_fail.stderr +++ b/src/test/ui/feature-gates/feature-gate-allow_fail.stderr @@ -4,7 +4,7 @@ error[E0658]: allow_fail attribute is currently unstable LL | #[allow_fail] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/46488 + = note: see issue #46488 for more information = help: add `#![feature(allow_fail)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-arbitrary-self-types.stderr b/src/test/ui/feature-gates/feature-gate-arbitrary-self-types.stderr index a70bf1f1990ad..f5d74d7a84076 100644 --- a/src/test/ui/feature-gates/feature-gate-arbitrary-self-types.stderr +++ b/src/test/ui/feature-gates/feature-gate-arbitrary-self-types.stderr @@ -4,7 +4,7 @@ error[E0658]: `Ptr` cannot be used as the type of `self` without the `arbi LL | fn foo(self: Ptr); | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44874 + = note: see issue #44874 for more information = help: add `#![feature(arbitrary_self_types)]` to the crate attributes to enable = help: consider changing to `self`, `&self`, `&mut self`, `self: Box`, `self: Rc`, `self: Arc`, or `self: Pin

` (where P is one of the previous types except `Self`) @@ -14,7 +14,7 @@ error[E0658]: `Ptr` cannot be used as the type of `self` without the `arbit LL | fn foo(self: Ptr) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44874 + = note: see issue #44874 for more information = help: add `#![feature(arbitrary_self_types)]` to the crate attributes to enable = help: consider changing to `self`, `&self`, `&mut self`, `self: Box`, `self: Rc`, `self: Arc`, or `self: Pin

` (where P is one of the previous types except `Self`) @@ -24,7 +24,7 @@ error[E0658]: `std::boxed::Box>` cannot be used as the type of `self` w LL | fn bar(self: Box>) {} | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44874 + = note: see issue #44874 for more information = help: add `#![feature(arbitrary_self_types)]` to the crate attributes to enable = help: consider changing to `self`, `&self`, `&mut self`, `self: Box`, `self: Rc`, `self: Arc`, or `self: Pin

` (where P is one of the previous types except `Self`) diff --git a/src/test/ui/feature-gates/feature-gate-arbitrary_self_types-raw-pointer.stderr b/src/test/ui/feature-gates/feature-gate-arbitrary_self_types-raw-pointer.stderr index 0f8863b87150f..a80f9befcafdc 100644 --- a/src/test/ui/feature-gates/feature-gate-arbitrary_self_types-raw-pointer.stderr +++ b/src/test/ui/feature-gates/feature-gate-arbitrary_self_types-raw-pointer.stderr @@ -4,7 +4,7 @@ error[E0658]: `*const Self` cannot be used as the type of `self` without the `ar LL | fn bar(self: *const Self); | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44874 + = note: see issue #44874 for more information = help: add `#![feature(arbitrary_self_types)]` to the crate attributes to enable = help: consider changing to `self`, `&self`, `&mut self`, `self: Box`, `self: Rc`, `self: Arc`, or `self: Pin

` (where P is one of the previous types except `Self`) @@ -14,7 +14,7 @@ error[E0658]: `*const Foo` cannot be used as the type of `self` without the `arb LL | fn foo(self: *const Self) {} | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44874 + = note: see issue #44874 for more information = help: add `#![feature(arbitrary_self_types)]` to the crate attributes to enable = help: consider changing to `self`, `&self`, `&mut self`, `self: Box`, `self: Rc`, `self: Arc`, or `self: Pin

` (where P is one of the previous types except `Self`) @@ -24,7 +24,7 @@ error[E0658]: `*const ()` cannot be used as the type of `self` without the `arbi LL | fn bar(self: *const Self) {} | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44874 + = note: see issue #44874 for more information = help: add `#![feature(arbitrary_self_types)]` to the crate attributes to enable = help: consider changing to `self`, `&self`, `&mut self`, `self: Box`, `self: Rc`, `self: Arc`, or `self: Pin

` (where P is one of the previous types except `Self`) diff --git a/src/test/ui/feature-gates/feature-gate-asm.stderr b/src/test/ui/feature-gates/feature-gate-asm.stderr index bfa4c87bed53a..265d38f83f540 100644 --- a/src/test/ui/feature-gates/feature-gate-asm.stderr +++ b/src/test/ui/feature-gates/feature-gate-asm.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'asm': inline assembly is not stab LL | asm!(""); | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29722 + = note: see issue #29722 for more information = help: add `#![feature(asm)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-asm2.stderr b/src/test/ui/feature-gates/feature-gate-asm2.stderr index 7519cad9a96ad..7ea7bdac44183 100644 --- a/src/test/ui/feature-gates/feature-gate-asm2.stderr +++ b/src/test/ui/feature-gates/feature-gate-asm2.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'asm': inline assembly is not stab LL | println!("{:?}", asm!("")); | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29722 + = note: see issue #29722 for more information = help: add `#![feature(asm)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-assoc-type-defaults.stderr b/src/test/ui/feature-gates/feature-gate-assoc-type-defaults.stderr index 6d3f40c807ecd..9edad61532735 100644 --- a/src/test/ui/feature-gates/feature-gate-assoc-type-defaults.stderr +++ b/src/test/ui/feature-gates/feature-gate-assoc-type-defaults.stderr @@ -4,7 +4,7 @@ error[E0658]: associated type defaults are unstable LL | type Bar = u8; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29661 + = note: see issue #29661 for more information = help: add `#![feature(associated_type_defaults)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-associated_type_bounds.stderr b/src/test/ui/feature-gates/feature-gate-associated_type_bounds.stderr index 84af2a0163ae4..bfa59d83c82fa 100644 --- a/src/test/ui/feature-gates/feature-gate-associated_type_bounds.stderr +++ b/src/test/ui/feature-gates/feature-gate-associated_type_bounds.stderr @@ -4,7 +4,7 @@ error[E0658]: associated type bounds are unstable LL | type A: Iterator; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -13,7 +13,7 @@ error[E0658]: associated type bounds are unstable LL | type B: Iterator; | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -22,7 +22,7 @@ error[E0658]: associated type bounds are unstable LL | struct _St1> { | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -31,7 +31,7 @@ error[E0658]: associated type bounds are unstable LL | enum _En1> { | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -40,7 +40,7 @@ error[E0658]: associated type bounds are unstable LL | union _Un1> { | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -49,7 +49,7 @@ error[E0658]: associated type bounds are unstable LL | type _TaWhere1 where T: Iterator = T; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -58,7 +58,7 @@ error[E0658]: associated type bounds are unstable LL | fn _apit(_: impl Tr1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -67,7 +67,7 @@ error[E0658]: associated type bounds are unstable LL | fn _apit_dyn(_: &dyn Tr1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -76,7 +76,7 @@ error[E0658]: associated type bounds are unstable LL | fn _rpit() -> impl Tr1 { S1 } | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -85,7 +85,7 @@ error[E0658]: associated type bounds are unstable LL | fn _rpit_dyn() -> Box> { Box::new(S1) } | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -94,7 +94,7 @@ error[E0658]: associated type bounds are unstable LL | const _cdef: impl Tr1 = S1; | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -103,7 +103,7 @@ error[E0658]: associated type bounds are unstable LL | static _sdef: impl Tr1 = S1; | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0658]: associated type bounds are unstable @@ -112,7 +112,7 @@ error[E0658]: associated type bounds are unstable LL | let _: impl Tr1 = S1; | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52662 + = note: see issue #52662 for more information = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable error[E0562]: `impl Trait` not allowed outside of function and inherent method return types diff --git a/src/test/ui/feature-gates/feature-gate-async-await-2015-edition.stderr b/src/test/ui/feature-gates/feature-gate-async-await-2015-edition.stderr index 0157ed5534423..f7c682c73038f 100644 --- a/src/test/ui/feature-gates/feature-gate-async-await-2015-edition.stderr +++ b/src/test/ui/feature-gates/feature-gate-async-await-2015-edition.stderr @@ -22,7 +22,7 @@ error[E0658]: async fn is unstable LL | async fn foo() {} | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/50547 + = note: see issue #50547 for more information = help: add `#![feature(async_await)]` to the crate attributes to enable error: aborting due to 4 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-async-await.stderr b/src/test/ui/feature-gates/feature-gate-async-await.stderr index 9f4a90157a495..e42d736bcdf35 100644 --- a/src/test/ui/feature-gates/feature-gate-async-await.stderr +++ b/src/test/ui/feature-gates/feature-gate-async-await.stderr @@ -10,7 +10,7 @@ error[E0658]: async fn is unstable LL | async fn foo() {} | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/50547 + = note: see issue #50547 for more information = help: add `#![feature(async_await)]` to the crate attributes to enable error[E0658]: async fn is unstable @@ -19,7 +19,7 @@ error[E0658]: async fn is unstable LL | async fn foo(); | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/50547 + = note: see issue #50547 for more information = help: add `#![feature(async_await)]` to the crate attributes to enable error[E0658]: async fn is unstable @@ -28,7 +28,7 @@ error[E0658]: async fn is unstable LL | async fn foo() {} | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/50547 + = note: see issue #50547 for more information = help: add `#![feature(async_await)]` to the crate attributes to enable error[E0658]: async blocks are unstable @@ -37,7 +37,7 @@ error[E0658]: async blocks are unstable LL | let _ = async {}; | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/50547 + = note: see issue #50547 for more information = help: add `#![feature(async_await)]` to the crate attributes to enable error: aborting due to 5 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-box-expr.stderr b/src/test/ui/feature-gates/feature-gate-box-expr.stderr index 1f243b2367789..af864b25f14bf 100644 --- a/src/test/ui/feature-gates/feature-gate-box-expr.stderr +++ b/src/test/ui/feature-gates/feature-gate-box-expr.stderr @@ -4,7 +4,7 @@ error[E0658]: box expression syntax is experimental; you can call `Box::new` ins LL | let x = box 'c'; | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49733 + = note: see issue #49733 for more information = help: add `#![feature(box_syntax)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-box_patterns.stderr b/src/test/ui/feature-gates/feature-gate-box_patterns.stderr index d2dafe93a862f..601ec46a44394 100644 --- a/src/test/ui/feature-gates/feature-gate-box_patterns.stderr +++ b/src/test/ui/feature-gates/feature-gate-box_patterns.stderr @@ -4,7 +4,7 @@ error[E0658]: box pattern syntax is experimental LL | let box x = Box::new('c'); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29641 + = note: see issue #29641 for more information = help: add `#![feature(box_patterns)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-box_syntax.stderr b/src/test/ui/feature-gates/feature-gate-box_syntax.stderr index 61b0534d2dc3e..dcf8eeed7cfce 100644 --- a/src/test/ui/feature-gates/feature-gate-box_syntax.stderr +++ b/src/test/ui/feature-gates/feature-gate-box_syntax.stderr @@ -4,7 +4,7 @@ error[E0658]: box expression syntax is experimental; you can call `Box::new` ins LL | let x = box 3; | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49733 + = note: see issue #49733 for more information = help: add `#![feature(box_syntax)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-cfg-target-has-atomic.stderr b/src/test/ui/feature-gates/feature-gate-cfg-target-has-atomic.stderr index 1765bc7809c8c..6132c53087879 100644 --- a/src/test/ui/feature-gates/feature-gate-cfg-target-has-atomic.stderr +++ b/src/test/ui/feature-gates/feature-gate-cfg-target-has-atomic.stderr @@ -4,7 +4,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "8")] | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -13,7 +13,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "8")] | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -22,7 +22,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "16")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -31,7 +31,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "16")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -40,7 +40,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "32")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -49,7 +49,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "32")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -58,7 +58,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "64")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -67,7 +67,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "64")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -76,7 +76,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "128")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -85,7 +85,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "128")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -94,7 +94,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "ptr")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -103,7 +103,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | #[cfg(target_has_atomic = "ptr")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -112,7 +112,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | cfg!(target_has_atomic = "8"); | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -121,7 +121,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | cfg!(target_has_atomic = "16"); | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -130,7 +130,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | cfg!(target_has_atomic = "32"); | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -139,7 +139,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | cfg!(target_has_atomic = "64"); | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -148,7 +148,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | cfg!(target_has_atomic = "128"); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change @@ -157,7 +157,7 @@ error[E0658]: `cfg(target_has_atomic)` is experimental and subject to change LL | cfg!(target_has_atomic = "ptr"); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32976 + = note: see issue #32976 for more information = help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable error: aborting due to 18 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr b/src/test/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr index 5765449310183..af59c71414773 100644 --- a/src/test/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr +++ b/src/test/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr @@ -4,7 +4,7 @@ error[E0658]: `cfg(target_thread_local)` is experimental and subject to change LL | #[cfg_attr(target_thread_local, thread_local)] | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29594 + = note: see issue #29594 for more information = help: add `#![feature(cfg_target_thread_local)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-concat_idents.stderr b/src/test/ui/feature-gates/feature-gate-concat_idents.stderr index 8639f622cd732..0454fd4945cd9 100644 --- a/src/test/ui/feature-gates/feature-gate-concat_idents.stderr +++ b/src/test/ui/feature-gates/feature-gate-concat_idents.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'concat_idents': `concat_idents` i LL | let a = concat_idents!(X, Y_1); | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29599 + = note: see issue #29599 for more information = help: add `#![feature(concat_idents)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'concat_idents': `concat_idents` is not stable enough for use and is subject to change @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'concat_idents': `concat_idents` i LL | let b = concat_idents!(X, Y_2); | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29599 + = note: see issue #29599 for more information = help: add `#![feature(concat_idents)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-concat_idents2.stderr b/src/test/ui/feature-gates/feature-gate-concat_idents2.stderr index 14519622c05ad..4f664ea3b9ed0 100644 --- a/src/test/ui/feature-gates/feature-gate-concat_idents2.stderr +++ b/src/test/ui/feature-gates/feature-gate-concat_idents2.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'concat_idents': `concat_idents` i LL | concat_idents!(a, b); | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29599 + = note: see issue #29599 for more information = help: add `#![feature(concat_idents)]` to the crate attributes to enable error[E0425]: cannot find value `ab` in this scope diff --git a/src/test/ui/feature-gates/feature-gate-concat_idents3.stderr b/src/test/ui/feature-gates/feature-gate-concat_idents3.stderr index afe6acb253594..1316107a3dca6 100644 --- a/src/test/ui/feature-gates/feature-gate-concat_idents3.stderr +++ b/src/test/ui/feature-gates/feature-gate-concat_idents3.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'concat_idents': `concat_idents` i LL | assert_eq!(10, concat_idents!(X, Y_1)); | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29599 + = note: see issue #29599 for more information = help: add `#![feature(concat_idents)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'concat_idents': `concat_idents` is not stable enough for use and is subject to change @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'concat_idents': `concat_idents` i LL | assert_eq!(20, concat_idents!(X, Y_2)); | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29599 + = note: see issue #29599 for more information = help: add `#![feature(concat_idents)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-const_fn.stderr b/src/test/ui/feature-gates/feature-gate-const_fn.stderr index c5c39cc200966..6a44f079bfbb4 100644 --- a/src/test/ui/feature-gates/feature-gate-const_fn.stderr +++ b/src/test/ui/feature-gates/feature-gate-const_fn.stderr @@ -22,7 +22,7 @@ error[E0658]: const fn is unstable LL | const fn foo() -> u32; | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0658]: const fn is unstable @@ -31,7 +31,7 @@ error[E0658]: const fn is unstable LL | const fn bar() -> u32 { 0 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 5 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-const_generics.stderr b/src/test/ui/feature-gates/feature-gate-const_generics.stderr index 468e9c31d37e2..02aa1f5a4d843 100644 --- a/src/test/ui/feature-gates/feature-gate-const_generics.stderr +++ b/src/test/ui/feature-gates/feature-gate-const_generics.stderr @@ -4,7 +4,7 @@ error[E0658]: const generics are unstable LL | fn foo() {} | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44580 + = note: see issue #44580 for more information = help: add `#![feature(const_generics)]` to the crate attributes to enable error[E0658]: const generics are unstable @@ -13,7 +13,7 @@ error[E0658]: const generics are unstable LL | struct Foo([(); X]); | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44580 + = note: see issue #44580 for more information = help: add `#![feature(const_generics)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-const_transmute.stderr b/src/test/ui/feature-gates/feature-gate-const_transmute.stderr index 41b653d98dcbf..403c9ac8f73c6 100644 --- a/src/test/ui/feature-gates/feature-gate-const_transmute.stderr +++ b/src/test/ui/feature-gates/feature-gate-const_transmute.stderr @@ -4,7 +4,7 @@ error[E0658]: The use of std::mem::transmute() is gated in constants LL | const TRANSMUTED_U32: u32 = unsafe { mem::transmute(Foo(3)) }; | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53605 + = note: see issue #53605 for more information = help: add `#![feature(const_transmute)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-crate_visibility_modifier.stderr b/src/test/ui/feature-gates/feature-gate-crate_visibility_modifier.stderr index 1e061eced3660..969606375c3e9 100644 --- a/src/test/ui/feature-gates/feature-gate-crate_visibility_modifier.stderr +++ b/src/test/ui/feature-gates/feature-gate-crate_visibility_modifier.stderr @@ -4,7 +4,7 @@ error[E0658]: `crate` visibility modifier is experimental LL | crate struct Bender { | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53120 + = note: see issue #53120 for more information = help: add `#![feature(crate_visibility_modifier)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-custom_attribute2.stderr b/src/test/ui/feature-gates/feature-gate-custom_attribute2.stderr index 15e0c41b90637..0bff9b7a8a048 100644 --- a/src/test/ui/feature-gates/feature-gate-custom_attribute2.stderr +++ b/src/test/ui/feature-gates/feature-gate-custom_attribute2.stderr @@ -4,7 +4,7 @@ error[E0658]: the attribute `lt_struct` is currently unknown to the compiler and LL | struct StLt<#[lt_struct] 'a>(&'a u32); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `ty_struct` is currently unknown to the compiler and may have meaning added to it in the future @@ -13,7 +13,7 @@ error[E0658]: the attribute `ty_struct` is currently unknown to the compiler and LL | struct StTy<#[ty_struct] I>(I); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `lt_enum` is currently unknown to the compiler and may have meaning added to it in the future @@ -22,7 +22,7 @@ error[E0658]: the attribute `lt_enum` is currently unknown to the compiler and m LL | enum EnLt<#[lt_enum] 'b> { A(&'b u32), B } | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `ty_enum` is currently unknown to the compiler and may have meaning added to it in the future @@ -31,7 +31,7 @@ error[E0658]: the attribute `ty_enum` is currently unknown to the compiler and m LL | enum EnTy<#[ty_enum] J> { A(J), B } | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `lt_trait` is currently unknown to the compiler and may have meaning added to it in the future @@ -40,7 +40,7 @@ error[E0658]: the attribute `lt_trait` is currently unknown to the compiler and LL | trait TrLt<#[lt_trait] 'c> { fn foo(&self, _: &'c [u32]) -> &'c u32; } | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `ty_trait` is currently unknown to the compiler and may have meaning added to it in the future @@ -49,7 +49,7 @@ error[E0658]: the attribute `ty_trait` is currently unknown to the compiler and LL | trait TrTy<#[ty_trait] K> { fn foo(&self, _: K); } | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `lt_type` is currently unknown to the compiler and may have meaning added to it in the future @@ -58,7 +58,7 @@ error[E0658]: the attribute `lt_type` is currently unknown to the compiler and m LL | type TyLt<#[lt_type] 'd> = &'d u32; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `ty_type` is currently unknown to the compiler and may have meaning added to it in the future @@ -67,7 +67,7 @@ error[E0658]: the attribute `ty_type` is currently unknown to the compiler and m LL | type TyTy<#[ty_type] L> = (L, ); | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `lt_inherent` is currently unknown to the compiler and may have meaning added to it in the future @@ -76,7 +76,7 @@ error[E0658]: the attribute `lt_inherent` is currently unknown to the compiler a LL | impl<#[lt_inherent] 'e> StLt<'e> { } | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `ty_inherent` is currently unknown to the compiler and may have meaning added to it in the future @@ -85,7 +85,7 @@ error[E0658]: the attribute `ty_inherent` is currently unknown to the compiler a LL | impl<#[ty_inherent] M> StTy { } | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `lt_impl_for` is currently unknown to the compiler and may have meaning added to it in the future @@ -94,7 +94,7 @@ error[E0658]: the attribute `lt_impl_for` is currently unknown to the compiler a LL | impl<#[lt_impl_for] 'f> TrLt<'f> for StLt<'f> { | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `ty_impl_for` is currently unknown to the compiler and may have meaning added to it in the future @@ -103,7 +103,7 @@ error[E0658]: the attribute `ty_impl_for` is currently unknown to the compiler a LL | impl<#[ty_impl_for] N> TrTy for StTy { | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `lt_fn` is currently unknown to the compiler and may have meaning added to it in the future @@ -112,7 +112,7 @@ error[E0658]: the attribute `lt_fn` is currently unknown to the compiler and may LL | fn f_lt<#[lt_fn] 'g>(_: &'g [u32]) -> &'g u32 { loop { } } | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `ty_fn` is currently unknown to the compiler and may have meaning added to it in the future @@ -121,7 +121,7 @@ error[E0658]: the attribute `ty_fn` is currently unknown to the compiler and may LL | fn f_ty<#[ty_fn] O>(_: O) { } | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `lt_meth` is currently unknown to the compiler and may have meaning added to it in the future @@ -130,7 +130,7 @@ error[E0658]: the attribute `lt_meth` is currently unknown to the compiler and m LL | fn m_lt<#[lt_meth] 'h>(_: &'h [u32]) -> &'h u32 { loop { } } | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `ty_meth` is currently unknown to the compiler and may have meaning added to it in the future @@ -139,7 +139,7 @@ error[E0658]: the attribute `ty_meth` is currently unknown to the compiler and m LL | fn m_ty<#[ty_meth] P>(_: P) { } | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `lt_hof` is currently unknown to the compiler and may have meaning added to it in the future @@ -148,7 +148,7 @@ error[E0658]: the attribute `lt_hof` is currently unknown to the compiler and ma LL | where Q: for <#[lt_hof] 'i> Fn(&'i [u32]) -> &'i u32 | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error: aborting due to 17 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.stderr b/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.stderr index 38304e7f3f934..b65b009a34228 100644 --- a/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.stderr +++ b/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'custom_test_frameworks': custom t LL | #[test_case] | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/50297 + = note: see issue #50297 for more information = help: add `#![feature(custom_test_frameworks)]` to the crate attributes to enable error[E0658]: custom test frameworks are an unstable feature @@ -13,7 +13,7 @@ error[E0658]: custom test frameworks are an unstable feature LL | #![test_runner(main)] | ^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/50297 + = note: see issue #50297 for more information = help: add `#![feature(custom_test_frameworks)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-decl_macro.stderr b/src/test/ui/feature-gates/feature-gate-decl_macro.stderr index 905a1b1531044..800caf2523950 100644 --- a/src/test/ui/feature-gates/feature-gate-decl_macro.stderr +++ b/src/test/ui/feature-gates/feature-gate-decl_macro.stderr @@ -4,7 +4,7 @@ error[E0658]: `macro` is experimental LL | macro m() {} | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/39412 + = note: see issue #39412 for more information = help: add `#![feature(decl_macro)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-default_type_parameter_fallback.stderr b/src/test/ui/feature-gates/feature-gate-default_type_parameter_fallback.stderr index f13803b80f308..8a80dd081eb1a 100644 --- a/src/test/ui/feature-gates/feature-gate-default_type_parameter_fallback.stderr +++ b/src/test/ui/feature-gates/feature-gate-default_type_parameter_fallback.stderr @@ -6,7 +6,7 @@ LL | fn avg(_: T) {} | = note: `#[deny(invalid_type_param_default)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #36887 + = note: see issue #36887 for more information error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions. --> $DIR/feature-gate-default_type_parameter_fallback.rs:8:6 @@ -15,7 +15,7 @@ LL | impl S {} | ^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #36887 + = note: see issue #36887 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-doc_alias.stderr b/src/test/ui/feature-gates/feature-gate-doc_alias.stderr index dddaa45de8ff8..07eee55457ca1 100644 --- a/src/test/ui/feature-gates/feature-gate-doc_alias.stderr +++ b/src/test/ui/feature-gates/feature-gate-doc_alias.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[doc(alias = "...")]` is experimental LL | #[doc(alias = "foo")] | ^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/50146 + = note: see issue #50146 for more information = help: add `#![feature(doc_alias)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-doc_cfg-cfg-rustdoc.stderr b/src/test/ui/feature-gates/feature-gate-doc_cfg-cfg-rustdoc.stderr index 9bf97a4a4771c..b413594d693fa 100644 --- a/src/test/ui/feature-gates/feature-gate-doc_cfg-cfg-rustdoc.stderr +++ b/src/test/ui/feature-gates/feature-gate-doc_cfg-cfg-rustdoc.stderr @@ -4,7 +4,7 @@ error[E0658]: `cfg(rustdoc)` is experimental and subject to change LL | #[cfg(rustdoc)] | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/43781 + = note: see issue #43781 for more information = help: add `#![feature(doc_cfg)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-doc_cfg.stderr b/src/test/ui/feature-gates/feature-gate-doc_cfg.stderr index 7b0a231df4c3e..2ac51ad8df8c0 100644 --- a/src/test/ui/feature-gates/feature-gate-doc_cfg.stderr +++ b/src/test/ui/feature-gates/feature-gate-doc_cfg.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[doc(cfg(...))]` is experimental LL | #[doc(cfg(unix))] | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/43781 + = note: see issue #43781 for more information = help: add `#![feature(doc_cfg)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-doc_keyword.stderr b/src/test/ui/feature-gates/feature-gate-doc_keyword.stderr index abde0bea9b230..bcfb35850d7e0 100644 --- a/src/test/ui/feature-gates/feature-gate-doc_keyword.stderr +++ b/src/test/ui/feature-gates/feature-gate-doc_keyword.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[doc(keyword = "...")]` is experimental LL | #[doc(keyword = "match")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51315 + = note: see issue #51315 for more information = help: add `#![feature(doc_keyword)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-doc_masked.stderr b/src/test/ui/feature-gates/feature-gate-doc_masked.stderr index 0d334fab410dd..80522b6eee526 100644 --- a/src/test/ui/feature-gates/feature-gate-doc_masked.stderr +++ b/src/test/ui/feature-gates/feature-gate-doc_masked.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[doc(masked)]` is experimental LL | #[doc(masked)] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44027 + = note: see issue #44027 for more information = help: add `#![feature(doc_masked)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-doc_spotlight.stderr b/src/test/ui/feature-gates/feature-gate-doc_spotlight.stderr index 16532e443347b..010d74054a412 100644 --- a/src/test/ui/feature-gates/feature-gate-doc_spotlight.stderr +++ b/src/test/ui/feature-gates/feature-gate-doc_spotlight.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[doc(spotlight)]` is experimental LL | #[doc(spotlight)] | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/45040 + = note: see issue #45040 for more information = help: add `#![feature(doc_spotlight)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-exclusive-range-pattern.stderr b/src/test/ui/feature-gates/feature-gate-exclusive-range-pattern.stderr index ee20408d1781f..6d7f4844a993b 100644 --- a/src/test/ui/feature-gates/feature-gate-exclusive-range-pattern.stderr +++ b/src/test/ui/feature-gates/feature-gate-exclusive-range-pattern.stderr @@ -4,7 +4,7 @@ error[E0658]: exclusive range pattern syntax is experimental LL | 0 .. 3 => {} | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/37854 + = note: see issue #37854 for more information = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-extern_types.stderr b/src/test/ui/feature-gates/feature-gate-extern_types.stderr index f82c64f9ca66b..923fae400a91c 100644 --- a/src/test/ui/feature-gates/feature-gate-extern_types.stderr +++ b/src/test/ui/feature-gates/feature-gate-extern_types.stderr @@ -4,7 +4,7 @@ error[E0658]: extern types are experimental LL | type T; | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/43467 + = note: see issue #43467 for more information = help: add `#![feature(extern_types)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-external_doc.stderr b/src/test/ui/feature-gates/feature-gate-external_doc.stderr index a5a874374d1eb..ad7779e190d91 100644 --- a/src/test/ui/feature-gates/feature-gate-external_doc.stderr +++ b/src/test/ui/feature-gates/feature-gate-external_doc.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[doc(include = "...")]` is experimental LL | #[doc(include="asdf.md")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44732 + = note: see issue #44732 for more information = help: add `#![feature(external_doc)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr b/src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr index b452db86bb9fa..3585355ab77fc 100644 --- a/src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr +++ b/src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[ffi_returns_twice]` attribute is an experimental feature LL | #[ffi_returns_twice] | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/58314 + = note: see issue #58314 for more information = help: add `#![feature(ffi_returns_twice)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-fundamental.stderr b/src/test/ui/feature-gates/feature-gate-fundamental.stderr index 409148484c8e4..1ae8d9128b1ff 100644 --- a/src/test/ui/feature-gates/feature-gate-fundamental.stderr +++ b/src/test/ui/feature-gates/feature-gate-fundamental.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[fundamental]` attribute is an experimental feature LL | #[fundamental] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29635 + = note: see issue #29635 for more information = help: add `#![feature(fundamental)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-generators.stderr b/src/test/ui/feature-gates/feature-gate-generators.stderr index cdb056012542b..7f056bcd242bb 100644 --- a/src/test/ui/feature-gates/feature-gate-generators.stderr +++ b/src/test/ui/feature-gates/feature-gate-generators.stderr @@ -4,7 +4,7 @@ error[E0658]: yield syntax is experimental LL | yield true; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/43122 + = note: see issue #43122 for more information = help: add `#![feature(generators)]` to the crate attributes to enable error[E0627]: yield statement outside of generator literal diff --git a/src/test/ui/feature-gates/feature-gate-generic_associated_types.stderr b/src/test/ui/feature-gates/feature-gate-generic_associated_types.stderr index 04473f410693a..8499b1ab70f5d 100644 --- a/src/test/ui/feature-gates/feature-gate-generic_associated_types.stderr +++ b/src/test/ui/feature-gates/feature-gate-generic_associated_types.stderr @@ -4,7 +4,7 @@ error[E0658]: generic associated types are unstable LL | type Pointer: Deref; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: see issue #44265 for more information = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable error[E0658]: generic associated types are unstable @@ -13,7 +13,7 @@ error[E0658]: generic associated types are unstable LL | type Pointer2: Deref where T: Clone, U: Clone; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: see issue #44265 for more information = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable error[E0658]: where clauses on associated types are unstable @@ -22,7 +22,7 @@ error[E0658]: where clauses on associated types are unstable LL | type Pointer2: Deref where T: Clone, U: Clone; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: see issue #44265 for more information = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable error[E0658]: generic associated types are unstable @@ -31,7 +31,7 @@ error[E0658]: generic associated types are unstable LL | type Pointer = Box; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: see issue #44265 for more information = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable error[E0658]: generic associated types are unstable @@ -40,7 +40,7 @@ error[E0658]: generic associated types are unstable LL | type Pointer2 = Box; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: see issue #44265 for more information = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable error[E0658]: where clauses on associated types are unstable @@ -49,7 +49,7 @@ error[E0658]: where clauses on associated types are unstable LL | type Assoc where Self: Sized; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: see issue #44265 for more information = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable error[E0658]: where clauses on associated types are unstable @@ -58,7 +58,7 @@ error[E0658]: where clauses on associated types are unstable LL | type Assoc where Self: Sized = Foo; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: see issue #44265 for more information = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable error: aborting due to 7 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-global_asm.stderr b/src/test/ui/feature-gates/feature-gate-global_asm.stderr index 733b8d08f77dd..e07fbf00d57c2 100644 --- a/src/test/ui/feature-gates/feature-gate-global_asm.stderr +++ b/src/test/ui/feature-gates/feature-gate-global_asm.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'global_asm': `global_asm!` is not LL | global_asm!(""); | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/35119 + = note: see issue #35119 for more information = help: add `#![feature(global_asm)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-is_sorted.stderr b/src/test/ui/feature-gates/feature-gate-is_sorted.stderr index 11b2b3e740a39..ccac827076bc8 100644 --- a/src/test/ui/feature-gates/feature-gate-is_sorted.stderr +++ b/src/test/ui/feature-gates/feature-gate-is_sorted.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'is_sorted': new API LL | assert!([1, 2, 2, 9].iter().is_sorted()); | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53485 + = note: see issue #53485 for more information = help: add `#![feature(is_sorted)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'is_sorted': new API @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'is_sorted': new API LL | assert!(![-2i32, -1, 0, 3].iter().is_sorted_by_key(|n| n.abs())); | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53485 + = note: see issue #53485 for more information = help: add `#![feature(is_sorted)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'is_sorted': new API @@ -22,7 +22,7 @@ error[E0658]: use of unstable library feature 'is_sorted': new API LL | assert!([1, 2, 2, 9].is_sorted()); | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53485 + = note: see issue #53485 for more information = help: add `#![feature(is_sorted)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'is_sorted': new API @@ -31,7 +31,7 @@ error[E0658]: use of unstable library feature 'is_sorted': new API LL | assert!(![-2i32, -1, 0, 3].is_sorted_by_key(|n| n.abs())); | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53485 + = note: see issue #53485 for more information = help: add `#![feature(is_sorted)]` to the crate attributes to enable error: aborting due to 4 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-label_break_value.stderr b/src/test/ui/feature-gates/feature-gate-label_break_value.stderr index a417e0eec22f2..4b43fdc593fa3 100644 --- a/src/test/ui/feature-gates/feature-gate-label_break_value.stderr +++ b/src/test/ui/feature-gates/feature-gate-label_break_value.stderr @@ -4,7 +4,7 @@ error[E0658]: labels on blocks are unstable LL | 'a: { | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/48594 + = note: see issue #48594 for more information = help: add `#![feature(label_break_value)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-link_args.stderr b/src/test/ui/feature-gates/feature-gate-link_args.stderr index bd690b3f89b11..c75f762b908ff 100644 --- a/src/test/ui/feature-gates/feature-gate-link_args.stderr +++ b/src/test/ui/feature-gates/feature-gate-link_args.stderr @@ -4,7 +4,7 @@ error[E0658]: the `link_args` attribute is experimental and not portable across LL | #[link_args = "-l expected_use_case"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29596 + = note: see issue #29596 for more information = help: add `#![feature(link_args)]` to the crate attributes to enable error[E0658]: the `link_args` attribute is experimental and not portable across platforms, it is recommended to use `#[link(name = "foo")] instead @@ -13,7 +13,7 @@ error[E0658]: the `link_args` attribute is experimental and not portable across LL | #[link_args = "-l unexected_use_on_non_extern_item"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29596 + = note: see issue #29596 for more information = help: add `#![feature(link_args)]` to the crate attributes to enable error[E0658]: the `link_args` attribute is experimental and not portable across platforms, it is recommended to use `#[link(name = "foo")] instead @@ -22,7 +22,7 @@ error[E0658]: the `link_args` attribute is experimental and not portable across LL | #![link_args = "-l unexpected_use_as_inner_attr_on_mod"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29596 + = note: see issue #29596 for more information = help: add `#![feature(link_args)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-link_cfg.stderr b/src/test/ui/feature-gates/feature-gate-link_cfg.stderr index 58aa4ed7497ce..5b7fd932e3c9b 100644 --- a/src/test/ui/feature-gates/feature-gate-link_cfg.stderr +++ b/src/test/ui/feature-gates/feature-gate-link_cfg.stderr @@ -4,7 +4,7 @@ error[E0658]: is feature gated LL | #[link(name = "foo", cfg(foo))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/37406 + = note: see issue #37406 for more information = help: add `#![feature(link_cfg)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-link_llvm_intrinsics.stderr b/src/test/ui/feature-gates/feature-gate-link_llvm_intrinsics.stderr index 6c8e76d269394..6bce5b823f385 100644 --- a/src/test/ui/feature-gates/feature-gate-link_llvm_intrinsics.stderr +++ b/src/test/ui/feature-gates/feature-gate-link_llvm_intrinsics.stderr @@ -4,7 +4,7 @@ error[E0658]: linking to LLVM intrinsics is experimental LL | fn sqrt(x: f32) -> f32; | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29602 + = note: see issue #29602 for more information = help: add `#![feature(link_llvm_intrinsics)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-linkage.stderr b/src/test/ui/feature-gates/feature-gate-linkage.stderr index d3f2aa6ba8b12..3e5b79bfd4176 100644 --- a/src/test/ui/feature-gates/feature-gate-linkage.stderr +++ b/src/test/ui/feature-gates/feature-gate-linkage.stderr @@ -4,7 +4,7 @@ error[E0658]: the `linkage` attribute is experimental and not portable across pl LL | #[linkage = "extern_weak"] static foo: isize; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29603 + = note: see issue #29603 for more information = help: add `#![feature(linkage)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-lint-reasons.stderr b/src/test/ui/feature-gates/feature-gate-lint-reasons.stderr index 390a1bf580f6f..bd0d5c9449238 100644 --- a/src/test/ui/feature-gates/feature-gate-lint-reasons.stderr +++ b/src/test/ui/feature-gates/feature-gate-lint-reasons.stderr @@ -4,7 +4,7 @@ error[E0658]: lint reasons are experimental LL | #![warn(nonstandard_style, reason = "the standard should be respected")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54503 + = note: see issue #54503 for more information = help: add `#![feature(lint_reasons)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-log_syntax.stderr b/src/test/ui/feature-gates/feature-gate-log_syntax.stderr index fa57c20ecd5d5..fdc1c8553476c 100644 --- a/src/test/ui/feature-gates/feature-gate-log_syntax.stderr +++ b/src/test/ui/feature-gates/feature-gate-log_syntax.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'log_syntax': `log_syntax!` is not LL | log_syntax!() | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29598 + = note: see issue #29598 for more information = help: add `#![feature(log_syntax)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-log_syntax2.stderr b/src/test/ui/feature-gates/feature-gate-log_syntax2.stderr index 81daee0b49f34..6deb4a46cd53a 100644 --- a/src/test/ui/feature-gates/feature-gate-log_syntax2.stderr +++ b/src/test/ui/feature-gates/feature-gate-log_syntax2.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'log_syntax': `log_syntax!` is not LL | println!("{:?}", log_syntax!()); | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29598 + = note: see issue #29598 for more information = help: add `#![feature(log_syntax)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-macros_in_extern.stderr b/src/test/ui/feature-gates/feature-gate-macros_in_extern.stderr index e8b3ab5dda20d..9bac966129e76 100644 --- a/src/test/ui/feature-gates/feature-gate-macros_in_extern.stderr +++ b/src/test/ui/feature-gates/feature-gate-macros_in_extern.stderr @@ -4,7 +4,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | returns_isize!(rust_get_test_int); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error[E0658]: macro invocations in `extern {}` blocks are experimental @@ -13,7 +13,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | takes_u32_returns_u32!(rust_dbg_extern_identity_u32); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error[E0658]: macro invocations in `extern {}` blocks are experimental @@ -22,7 +22,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | emits_nothing!(); | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-main.stderr b/src/test/ui/feature-gates/feature-gate-main.stderr index 513758e030938..f0ef3b38c6209 100644 --- a/src/test/ui/feature-gates/feature-gate-main.stderr +++ b/src/test/ui/feature-gates/feature-gate-main.stderr @@ -4,7 +4,7 @@ error[E0658]: declaration of a non-standard `#[main]` function may change over t LL | fn foo() {} | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29634 + = note: see issue #29634 for more information = help: add `#![feature(main)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-marker_trait_attr.stderr b/src/test/ui/feature-gates/feature-gate-marker_trait_attr.stderr index 94dfaf9206d14..679d35a7a5cda 100644 --- a/src/test/ui/feature-gates/feature-gate-marker_trait_attr.stderr +++ b/src/test/ui/feature-gates/feature-gate-marker_trait_attr.stderr @@ -4,7 +4,7 @@ error[E0658]: marker traits is an experimental feature LL | #[marker] trait ExplicitMarker {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29864 + = note: see issue #29864 for more information = help: add `#![feature(marker_trait_attr)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-may-dangle.stderr b/src/test/ui/feature-gates/feature-gate-may-dangle.stderr index b344d73757473..d47a76a50efb8 100644 --- a/src/test/ui/feature-gates/feature-gate-may-dangle.stderr +++ b/src/test/ui/feature-gates/feature-gate-may-dangle.stderr @@ -4,7 +4,7 @@ error[E0658]: `may_dangle` has unstable semantics and may be removed in the futu LL | unsafe impl<#[may_dangle] A> Drop for Pt { | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/34761 + = note: see issue #34761 for more information = help: add `#![feature(dropck_eyepatch)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-min_const_fn.stderr b/src/test/ui/feature-gates/feature-gate-min_const_fn.stderr index 98c9e2b0c9f16..7ab9d748b31f7 100644 --- a/src/test/ui/feature-gates/feature-gate-min_const_fn.stderr +++ b/src/test/ui/feature-gates/feature-gate-min_const_fn.stderr @@ -22,7 +22,7 @@ error[E0658]: const fn is unstable LL | const fn foo() -> u32; | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0658]: const fn is unstable @@ -31,7 +31,7 @@ error[E0658]: const fn is unstable LL | const fn bar() -> u32 { 0 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to 5 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-naked_functions.stderr b/src/test/ui/feature-gates/feature-gate-naked_functions.stderr index d4041f4ecd8fc..e24dde5429d51 100644 --- a/src/test/ui/feature-gates/feature-gate-naked_functions.stderr +++ b/src/test/ui/feature-gates/feature-gate-naked_functions.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[naked]` attribute is an experimental feature LL | #[naked] | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32408 + = note: see issue #32408 for more information = help: add `#![feature(naked_functions)]` to the crate attributes to enable error[E0658]: the `#[naked]` attribute is an experimental feature @@ -13,7 +13,7 @@ error[E0658]: the `#[naked]` attribute is an experimental feature LL | #[naked] | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32408 + = note: see issue #32408 for more information = help: add `#![feature(naked_functions)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-never_type.stderr b/src/test/ui/feature-gates/feature-gate-never_type.stderr index d86ab99b82bd5..b87a659feeb48 100644 --- a/src/test/ui/feature-gates/feature-gate-never_type.stderr +++ b/src/test/ui/feature-gates/feature-gate-never_type.stderr @@ -4,7 +4,7 @@ error[E0658]: The `!` type is experimental LL | type Ma = (u32, !, i32); | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/35121 + = note: see issue #35121 for more information = help: add `#![feature(never_type)]` to the crate attributes to enable error[E0658]: The `!` type is experimental @@ -13,7 +13,7 @@ error[E0658]: The `!` type is experimental LL | type Meeshka = Vec; | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/35121 + = note: see issue #35121 for more information = help: add `#![feature(never_type)]` to the crate attributes to enable error[E0658]: The `!` type is experimental @@ -22,7 +22,7 @@ error[E0658]: The `!` type is experimental LL | type Mow = &'static fn(!) -> !; | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/35121 + = note: see issue #35121 for more information = help: add `#![feature(never_type)]` to the crate attributes to enable error[E0658]: The `!` type is experimental @@ -31,7 +31,7 @@ error[E0658]: The `!` type is experimental LL | type Skwoz = &'static mut !; | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/35121 + = note: see issue #35121 for more information = help: add `#![feature(never_type)]` to the crate attributes to enable error[E0658]: The `!` type is experimental @@ -40,7 +40,7 @@ error[E0658]: The `!` type is experimental LL | type Wub = !; | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/35121 + = note: see issue #35121 for more information = help: add `#![feature(never_type)]` to the crate attributes to enable error: aborting due to 5 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-no-debug-2.stderr b/src/test/ui/feature-gates/feature-gate-no-debug-2.stderr index 1f8f114d7da53..4fbf4f528ef19 100644 --- a/src/test/ui/feature-gates/feature-gate-no-debug-2.stderr +++ b/src/test/ui/feature-gates/feature-gate-no-debug-2.stderr @@ -1,4 +1,4 @@ -error: use of deprecated attribute `no_debug`: the `#[no_debug]` attribute was an experimental feature that has been deprecated due to lack of demand. See https://github.com/rust-lang/rust/issues/29721 +error: use of deprecated attribute `no_debug`: the `#[no_debug]` attribute was an experimental feature that has been deprecated due to lack of demand. See issue #29721 --> $DIR/feature-gate-no-debug-2.rs:4:1 | LL | #[no_debug] diff --git a/src/test/ui/feature-gates/feature-gate-no-debug.stderr b/src/test/ui/feature-gates/feature-gate-no-debug.stderr index 7d5af0802c40a..e146d643bcbe3 100644 --- a/src/test/ui/feature-gates/feature-gate-no-debug.stderr +++ b/src/test/ui/feature-gates/feature-gate-no-debug.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[no_debug]` attribute was an experimental feature that has b LL | #[no_debug] | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29721 + = note: see issue #29721 for more information = help: add `#![feature(no_debug)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-no_core.stderr b/src/test/ui/feature-gates/feature-gate-no_core.stderr index 4d4ca96544e56..1b774c15d68f0 100644 --- a/src/test/ui/feature-gates/feature-gate-no_core.stderr +++ b/src/test/ui/feature-gates/feature-gate-no_core.stderr @@ -4,7 +4,7 @@ error[E0658]: no_core is experimental LL | #![no_core] | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29639 + = note: see issue #29639 for more information = help: add `#![feature(no_core)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-non_ascii_idents.stderr b/src/test/ui/feature-gates/feature-gate-non_ascii_idents.stderr index 02d21c90fe77b..e9392ace4ce25 100644 --- a/src/test/ui/feature-gates/feature-gate-non_ascii_idents.stderr +++ b/src/test/ui/feature-gates/feature-gate-non_ascii_idents.stderr @@ -4,7 +4,7 @@ error[E0658]: non-ascii idents are not fully supported LL | extern crate core as bäz; | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -13,7 +13,7 @@ error[E0658]: non-ascii idents are not fully supported LL | use föö::bar; | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -22,7 +22,7 @@ error[E0658]: non-ascii idents are not fully supported LL | mod föö { | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -31,7 +31,7 @@ error[E0658]: non-ascii idents are not fully supported LL | fn bär( | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -40,7 +40,7 @@ error[E0658]: non-ascii idents are not fully supported LL | bäz: isize | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -49,7 +49,7 @@ error[E0658]: non-ascii idents are not fully supported LL | let _ö: isize; | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -58,7 +58,7 @@ error[E0658]: non-ascii idents are not fully supported LL | (_ä, _) => {} | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -67,7 +67,7 @@ error[E0658]: non-ascii idents are not fully supported LL | struct Föö { | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -76,7 +76,7 @@ error[E0658]: non-ascii idents are not fully supported LL | föö: isize | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -85,7 +85,7 @@ error[E0658]: non-ascii idents are not fully supported LL | enum Bär { | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -94,7 +94,7 @@ error[E0658]: non-ascii idents are not fully supported LL | Bäz { | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -103,7 +103,7 @@ error[E0658]: non-ascii idents are not fully supported LL | qüx: isize | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -112,7 +112,7 @@ error[E0658]: non-ascii idents are not fully supported LL | fn qüx(); | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error: aborting due to 13 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-non_exhaustive.stderr b/src/test/ui/feature-gates/feature-gate-non_exhaustive.stderr index 8a01aa9eb6a9a..49d76f1798a58 100644 --- a/src/test/ui/feature-gates/feature-gate-non_exhaustive.stderr +++ b/src/test/ui/feature-gates/feature-gate-non_exhaustive.stderr @@ -4,7 +4,7 @@ error[E0658]: non exhaustive is an experimental feature LL | #[non_exhaustive] | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44109 + = note: see issue #44109 for more information = help: add `#![feature(non_exhaustive)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-on-unimplemented.stderr b/src/test/ui/feature-gates/feature-gate-on-unimplemented.stderr index 6c230f8cada8b..b488eacff0d49 100644 --- a/src/test/ui/feature-gates/feature-gate-on-unimplemented.stderr +++ b/src/test/ui/feature-gates/feature-gate-on-unimplemented.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[rustc_on_unimplemented]` attribute is an experimental featu LL | #[rustc_on_unimplemented = "test error `{Self}` with `{Bar}`"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29628 + = note: see issue #29628 for more information = help: add `#![feature(on_unimplemented)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr b/src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr index 0c3dd451b2723..d29c373a33c95 100644 --- a/src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr +++ b/src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr @@ -4,7 +4,7 @@ error[E0658]: auto traits are experimental and possibly buggy LL | auto trait AutoDummyTrait {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/13231 + = note: see issue #13231 for more information = help: add `#![feature(optin_builtin_traits)]` to the crate attributes to enable error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now @@ -13,7 +13,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty LL | impl !AutoDummyTrait for DummyStruct {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/13231 + = note: see issue #13231 for more information = help: add `#![feature(optin_builtin_traits)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-plugin.stderr b/src/test/ui/feature-gates/feature-gate-plugin.stderr index 0da9653c9af73..a84ad769c2559 100644 --- a/src/test/ui/feature-gates/feature-gate-plugin.stderr +++ b/src/test/ui/feature-gates/feature-gate-plugin.stderr @@ -4,7 +4,7 @@ error[E0658]: compiler plugins are experimental and possibly buggy LL | #![plugin(foo)] | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29597 + = note: see issue #29597 for more information = help: add `#![feature(plugin)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-plugin_registrar.stderr b/src/test/ui/feature-gates/feature-gate-plugin_registrar.stderr index 93473bfd27b45..d18be2d7b90ac 100644 --- a/src/test/ui/feature-gates/feature-gate-plugin_registrar.stderr +++ b/src/test/ui/feature-gates/feature-gate-plugin_registrar.stderr @@ -4,7 +4,7 @@ error[E0658]: compiler plugins are experimental and possibly buggy LL | pub fn registrar() {} | ^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29597 + = note: see issue #29597 for more information = help: add `#![feature(plugin_registrar)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-repr-simd.stderr b/src/test/ui/feature-gates/feature-gate-repr-simd.stderr index dfaa85bc5f014..77d67f5ba6f2a 100644 --- a/src/test/ui/feature-gates/feature-gate-repr-simd.stderr +++ b/src/test/ui/feature-gates/feature-gate-repr-simd.stderr @@ -4,7 +4,7 @@ error[E0658]: SIMD types are experimental and possibly buggy LL | #[repr(simd)] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(repr_simd)]` to the crate attributes to enable error[E0658]: SIMD types are experimental and possibly buggy @@ -13,7 +13,7 @@ error[E0658]: SIMD types are experimental and possibly buggy LL | #[repr(simd)] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(repr_simd)]` to the crate attributes to enable warning[E0566]: conflicting representation hints diff --git a/src/test/ui/feature-gates/feature-gate-repr128.stderr b/src/test/ui/feature-gates/feature-gate-repr128.stderr index 2139a5da600df..9457f5e262ee1 100644 --- a/src/test/ui/feature-gates/feature-gate-repr128.stderr +++ b/src/test/ui/feature-gates/feature-gate-repr128.stderr @@ -6,7 +6,7 @@ LL | | A(u64) LL | | } | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/35118 + = note: see issue #35118 for more information = help: add `#![feature(repr128)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-rustc-attrs-1.stderr b/src/test/ui/feature-gates/feature-gate-rustc-attrs-1.stderr index e9dd0867fcaee..082d897c01dc1 100644 --- a/src/test/ui/feature-gates/feature-gate-rustc-attrs-1.stderr +++ b/src/test/ui/feature-gates/feature-gate-rustc-attrs-1.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[rustc_variance]` attribute is just used for rustc unit test LL | #[rustc_variance] | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error[E0658]: the `#[rustc_error]` attribute is just used for rustc unit tests and will never be stable @@ -13,7 +13,7 @@ error[E0658]: the `#[rustc_error]` attribute is just used for rustc unit tests a LL | #[rustc_error] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error[E0658]: the `#[rustc_nonnull_optimization_guaranteed]` attribute is just used to enable niche optimizations in libcore and will never be stable @@ -22,7 +22,7 @@ error[E0658]: the `#[rustc_nonnull_optimization_guaranteed]` attribute is just u LL | #[rustc_nonnull_optimization_guaranteed] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-rustc-attrs.stderr b/src/test/ui/feature-gates/feature-gate-rustc-attrs.stderr index 23cf936ee8350..a7cc08d47fa40 100644 --- a/src/test/ui/feature-gates/feature-gate-rustc-attrs.stderr +++ b/src/test/ui/feature-gates/feature-gate-rustc-attrs.stderr @@ -4,7 +4,7 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust LL | #[rustc::unknown] | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: expected attribute, found macro `rustc::unknown` @@ -19,7 +19,7 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust LL | #[unknown::rustc] | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: expected attribute, found macro `unknown::rustc` @@ -34,7 +34,7 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust LL | #[rustc_unknown] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: cannot find attribute macro `rustc_unknown` in this scope @@ -49,7 +49,7 @@ error[E0658]: used by the test suite LL | #[rustc_dummy] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: aborting due to 7 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-simd.stderr b/src/test/ui/feature-gates/feature-gate-simd.stderr index b72ac1e4936be..6e0e0b2703a34 100644 --- a/src/test/ui/feature-gates/feature-gate-simd.stderr +++ b/src/test/ui/feature-gates/feature-gate-simd.stderr @@ -4,7 +4,7 @@ error[E0658]: SIMD types are experimental and possibly buggy LL | #[repr(simd)] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(repr_simd)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-slice-patterns.stderr b/src/test/ui/feature-gates/feature-gate-slice-patterns.stderr index d4946a42b8f3d..4d92b0e41b01e 100644 --- a/src/test/ui/feature-gates/feature-gate-slice-patterns.stderr +++ b/src/test/ui/feature-gates/feature-gate-slice-patterns.stderr @@ -4,7 +4,7 @@ error[E0658]: subslice patterns are unstable LL | [1, 2, ..] => {} | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error[E0658]: subslice patterns are unstable @@ -13,7 +13,7 @@ error[E0658]: subslice patterns are unstable LL | [1, .., 5] => {} | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error[E0658]: subslice patterns are unstable @@ -22,7 +22,7 @@ error[E0658]: subslice patterns are unstable LL | [.., 4, 5] => {} | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error[E0658]: subslice patterns are unstable @@ -31,7 +31,7 @@ error[E0658]: subslice patterns are unstable LL | [ xs @ .., 4, 5 ] => {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error[E0658]: subslice patterns are unstable @@ -40,7 +40,7 @@ error[E0658]: subslice patterns are unstable LL | [ 1, xs @ .., 5 ] => {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error[E0658]: subslice patterns are unstable @@ -49,7 +49,7 @@ error[E0658]: subslice patterns are unstable LL | [ 1, 2, xs @ .. ] => {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error: aborting due to 6 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-start.stderr b/src/test/ui/feature-gates/feature-gate-start.stderr index c769ef8ee9272..446af6ac2d1cd 100644 --- a/src/test/ui/feature-gates/feature-gate-start.stderr +++ b/src/test/ui/feature-gates/feature-gate-start.stderr @@ -4,7 +4,7 @@ error[E0658]: a `#[start]` function is an experimental feature whose signature m LL | fn foo(_: isize, _: *const *const u8) -> isize { 0 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29633 + = note: see issue #29633 for more information = help: add `#![feature(start)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-static-nobundle.stderr b/src/test/ui/feature-gates/feature-gate-static-nobundle.stderr index f2e29cf0678ae..2263fd39e8f47 100644 --- a/src/test/ui/feature-gates/feature-gate-static-nobundle.stderr +++ b/src/test/ui/feature-gates/feature-gate-static-nobundle.stderr @@ -4,7 +4,7 @@ error[E0658]: kind="static-nobundle" is feature gated LL | #[link(name="foo", kind="static-nobundle")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/37403 + = note: see issue #37403 for more information = help: add `#![feature(static_nobundle)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-stmt_expr_attributes.stderr b/src/test/ui/feature-gates/feature-gate-stmt_expr_attributes.stderr index 70c70638ea918..57ffaed78f5e5 100644 --- a/src/test/ui/feature-gates/feature-gate-stmt_expr_attributes.stderr +++ b/src/test/ui/feature-gates/feature-gate-stmt_expr_attributes.stderr @@ -4,7 +4,7 @@ error[E0658]: attributes on expressions are experimental LL | const X: i32 = #[allow(dead_code)] 8; | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-thread_local.stderr b/src/test/ui/feature-gates/feature-gate-thread_local.stderr index 9f154d9bc50a5..6352e908708af 100644 --- a/src/test/ui/feature-gates/feature-gate-thread_local.stderr +++ b/src/test/ui/feature-gates/feature-gate-thread_local.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[thread_local]` is an experimental feature, and does not current LL | #[thread_local] | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29594 + = note: see issue #29594 for more information = help: add `#![feature(thread_local)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-trace_macros.stderr b/src/test/ui/feature-gates/feature-gate-trace_macros.stderr index cca0818752718..3978d4111bb05 100644 --- a/src/test/ui/feature-gates/feature-gate-trace_macros.stderr +++ b/src/test/ui/feature-gates/feature-gate-trace_macros.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is LL | trace_macros!(true); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29598 + = note: see issue #29598 for more information = help: add `#![feature(trace_macros)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-trait-alias.stderr b/src/test/ui/feature-gates/feature-gate-trait-alias.stderr index 9250e27d15807..41cd6dbd8bc0e 100644 --- a/src/test/ui/feature-gates/feature-gate-trait-alias.stderr +++ b/src/test/ui/feature-gates/feature-gate-trait-alias.stderr @@ -4,7 +4,7 @@ error[E0658]: trait aliases are experimental LL | trait Foo = Default; | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/41517 + = note: see issue #41517 for more information = help: add `#![feature(trait_alias)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-transparent_enums.stderr b/src/test/ui/feature-gates/feature-gate-transparent_enums.stderr index 8e727c33f20f8..61165d3ea0977 100644 --- a/src/test/ui/feature-gates/feature-gate-transparent_enums.stderr +++ b/src/test/ui/feature-gates/feature-gate-transparent_enums.stderr @@ -4,7 +4,7 @@ error[E0658]: transparent enums are unstable LL | enum OkButUnstableEnum { | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/60405 + = note: see issue #60405 for more information = help: add `#![feature(transparent_enums)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-transparent_unions.stderr b/src/test/ui/feature-gates/feature-gate-transparent_unions.stderr index 356950d06414e..65c8fe0522905 100644 --- a/src/test/ui/feature-gates/feature-gate-transparent_unions.stderr +++ b/src/test/ui/feature-gates/feature-gate-transparent_unions.stderr @@ -4,7 +4,7 @@ error[E0658]: transparent unions are unstable LL | union OkButUnstableUnion { | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/60405 + = note: see issue #60405 for more information = help: add `#![feature(transparent_unions)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-try_blocks.stderr b/src/test/ui/feature-gates/feature-gate-try_blocks.stderr index 565f3610a2e21..022409f95566b 100644 --- a/src/test/ui/feature-gates/feature-gate-try_blocks.stderr +++ b/src/test/ui/feature-gates/feature-gate-try_blocks.stderr @@ -8,7 +8,7 @@ LL | | x LL | | }; | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/31436 + = note: see issue #31436 for more information = help: add `#![feature(try_blocks)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-try_reserve.stderr b/src/test/ui/feature-gates/feature-gate-try_reserve.stderr index 5bd9dffa7f0f8..4da9a23a1bd5f 100644 --- a/src/test/ui/feature-gates/feature-gate-try_reserve.stderr +++ b/src/test/ui/feature-gates/feature-gate-try_reserve.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'try_reserve': new API LL | v.try_reserve(10); | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/48043 + = note: see issue #48043 for more information = help: add `#![feature(try_reserve)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-type_alias_impl_trait.stderr b/src/test/ui/feature-gates/feature-gate-type_alias_impl_trait.stderr index 2d0710ea37cf6..44ea96cbd6449 100644 --- a/src/test/ui/feature-gates/feature-gate-type_alias_impl_trait.stderr +++ b/src/test/ui/feature-gates/feature-gate-type_alias_impl_trait.stderr @@ -4,7 +4,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Foo = impl std::fmt::Debug; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/63063 + = note: see issue #63063 for more information = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable error[E0658]: `impl Trait` in type aliases is unstable @@ -13,7 +13,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Baa = impl std::fmt::Debug; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/63063 + = note: see issue #63063 for more information = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-type_ascription.stderr b/src/test/ui/feature-gates/feature-gate-type_ascription.stderr index 83f95529f0d9d..615d5b9a1e089 100644 --- a/src/test/ui/feature-gates/feature-gate-type_ascription.stderr +++ b/src/test/ui/feature-gates/feature-gate-type_ascription.stderr @@ -4,7 +4,7 @@ error[E0658]: type ascription is experimental LL | let a = 10: u8; | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information = help: add `#![feature(type_ascription)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr b/src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr index fc4317b316a37..4c19e4fb9bd6a 100644 --- a/src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr +++ b/src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr @@ -4,7 +4,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn call(self, args: ()) -> () {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: rust-call ABI is subject to change @@ -13,7 +13,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn call_once(self, args: ()) -> () {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: rust-call ABI is subject to change @@ -22,7 +22,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn call_mut(&self, args: ()) -> () {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: rust-call ABI is subject to change @@ -31,7 +31,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn call_once(&self, args: ()) -> () {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead @@ -40,7 +40,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | impl Fn<()> for Foo { | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0229]: associated type bindings are not allowed here @@ -55,7 +55,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | impl FnMut<()> for Bar { | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead @@ -64,7 +64,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | impl FnOnce<()> for Baz { | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error: aborting due to 8 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-unboxed-closures-method-calls.stderr b/src/test/ui/feature-gates/feature-gate-unboxed-closures-method-calls.stderr index ee3ba665cefa3..c61382c64f5c0 100644 --- a/src/test/ui/feature-gates/feature-gate-unboxed-closures-method-calls.stderr +++ b/src/test/ui/feature-gates/feature-gate-unboxed-closures-method-calls.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'fn_traits' LL | f.call(()); | ^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(fn_traits)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'fn_traits' @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'fn_traits' LL | f.call_mut(()); | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(fn_traits)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'fn_traits' @@ -22,7 +22,7 @@ error[E0658]: use of unstable library feature 'fn_traits' LL | f.call_once(()); | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(fn_traits)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-unboxed-closures-ufcs-calls.stderr b/src/test/ui/feature-gates/feature-gate-unboxed-closures-ufcs-calls.stderr index f7cb1ab64175c..50eaeecde3d29 100644 --- a/src/test/ui/feature-gates/feature-gate-unboxed-closures-ufcs-calls.stderr +++ b/src/test/ui/feature-gates/feature-gate-unboxed-closures-ufcs-calls.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'fn_traits' LL | Fn::call(&f, ()); | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(fn_traits)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'fn_traits' @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'fn_traits' LL | FnMut::call_mut(&mut f, ()); | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(fn_traits)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'fn_traits' @@ -22,7 +22,7 @@ error[E0658]: use of unstable library feature 'fn_traits' LL | FnOnce::call_once(f, ()); | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(fn_traits)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-unboxed-closures.stderr b/src/test/ui/feature-gates/feature-gate-unboxed-closures.stderr index 723c6619887aa..351a01ddbecaf 100644 --- a/src/test/ui/feature-gates/feature-gate-unboxed-closures.stderr +++ b/src/test/ui/feature-gates/feature-gate-unboxed-closures.stderr @@ -6,7 +6,7 @@ LL | | a + b LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead @@ -15,7 +15,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | impl FnOnce<(u32, u32)> for Test { | ^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr b/src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr index d4c62399e9be0..bea6cee0a89e8 100644 --- a/src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr +++ b/src/test/ui/feature-gates/feature-gate-unsized_tuple_coercion.stderr @@ -4,7 +4,7 @@ error[E0658]: unsized tuple coercion is not stable enough for use and is subject LL | let _ : &(dyn Send,) = &((),); | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/42877 + = note: see issue #42877 for more information = help: add `#![feature(unsized_tuple_coercion)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-untagged_unions.stderr b/src/test/ui/feature-gates/feature-gate-untagged_unions.stderr index f59a34e2c81f6..8e6d0cc2de772 100644 --- a/src/test/ui/feature-gates/feature-gate-untagged_unions.stderr +++ b/src/test/ui/feature-gates/feature-gate-untagged_unions.stderr @@ -6,7 +6,7 @@ LL | | a: String, LL | | } | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32836 + = note: see issue #32836 for more information = help: add `#![feature(untagged_unions)]` to the crate attributes to enable error[E0658]: unions with non-`Copy` fields are unstable @@ -17,7 +17,7 @@ LL | | a: T, LL | | } | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32836 + = note: see issue #32836 for more information = help: add `#![feature(untagged_unions)]` to the crate attributes to enable error[E0658]: unions with `Drop` implementations are unstable @@ -28,7 +28,7 @@ LL | | a: u8, LL | | } | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32836 + = note: see issue #32836 for more information = help: add `#![feature(untagged_unions)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/feature-gates/feature-gate-unwind-attributes.stderr b/src/test/ui/feature-gates/feature-gate-unwind-attributes.stderr index 639b87e016214..47dd9bf13ba1f 100644 --- a/src/test/ui/feature-gates/feature-gate-unwind-attributes.stderr +++ b/src/test/ui/feature-gates/feature-gate-unwind-attributes.stderr @@ -4,7 +4,7 @@ error[E0658]: `#[unwind]` is experimental LL | #[unwind(allowed)] | ^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/58760 + = note: see issue #58760 for more information = help: add `#![feature(unwind_attributes)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/future-incompatible-lint-group.stderr b/src/test/ui/future-incompatible-lint-group.stderr index 24e3a077ae6e3..288fa29fd760d 100644 --- a/src/test/ui/future-incompatible-lint-group.stderr +++ b/src/test/ui/future-incompatible-lint-group.stderr @@ -11,7 +11,7 @@ LL | #![deny(future_incompatible)] | ^^^^^^^^^^^^^^^^^^^ = note: `#[deny(anonymous_parameters)]` implied by `#[deny(future_incompatible)]` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #41686 + = note: see issue #41686 for more information error: aborting due to previous error diff --git a/src/test/ui/generator-yielding-or-returning-itself.stderr b/src/test/ui/generator-yielding-or-returning-itself.stderr index 42591683fe4e3..59924cdacf969 100644 --- a/src/test/ui/generator-yielding-or-returning-itself.stderr +++ b/src/test/ui/generator-yielding-or-returning-itself.stderr @@ -11,7 +11,7 @@ LL | | }) | = note: closures cannot capture themselves or take themselves as argument; this error may be the result of a recent compiler bug-fix, - see https://github.com/rust-lang/rust/issues/46062 for more details + see issue #46062 for more information error[E0271]: type mismatch resolving `<[generator@$DIR/generator-yielding-or-returning-itself.rs:28:33: 32:6 _] as std::ops::Generator>::Yield == [generator@$DIR/generator-yielding-or-returning-itself.rs:28:33: 32:6 _]` --> $DIR/generator-yielding-or-returning-itself.rs:28:5 @@ -21,7 +21,7 @@ LL | want_cyclic_generator_yield(|| { | = note: closures cannot capture themselves or take themselves as argument; this error may be the result of a recent compiler bug-fix, - see https://github.com/rust-lang/rust/issues/46062 for more details + see issue #46062 for more information note: required by `want_cyclic_generator_yield` --> $DIR/generator-yielding-or-returning-itself.rs:22:1 | diff --git a/src/test/ui/impl-trait/issues/issue-57979-impl-trait-in-path.stderr b/src/test/ui/impl-trait/issues/issue-57979-impl-trait-in-path.stderr index 982ecba291f79..2aa81b54d6a9a 100644 --- a/src/test/ui/impl-trait/issues/issue-57979-impl-trait-in-path.stderr +++ b/src/test/ui/impl-trait/issues/issue-57979-impl-trait-in-path.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![warn(nested_impl_trait)] | ^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #59014 + = note: see issue #59014 for more information error: `impl Trait` is not allowed in path parameters --> $DIR/issue-57979-impl-trait-in-path.rs:31:52 @@ -24,7 +24,7 @@ note: lint level defined here LL | #![deny(nested_impl_trait)] | ^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #59014 + = note: see issue #59014 for more information error: aborting due to previous error diff --git a/src/test/ui/impl-trait/issues/issue-57979-nested-impl-trait-in-assoc-proj.stderr b/src/test/ui/impl-trait/issues/issue-57979-nested-impl-trait-in-assoc-proj.stderr index 508aea2432132..fcbac0413e0e8 100644 --- a/src/test/ui/impl-trait/issues/issue-57979-nested-impl-trait-in-assoc-proj.stderr +++ b/src/test/ui/impl-trait/issues/issue-57979-nested-impl-trait-in-assoc-proj.stderr @@ -13,7 +13,7 @@ note: lint level defined here LL | #![warn(nested_impl_trait)] | ^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #59014 + = note: see issue #59014 for more information error: nested `impl Trait` is not allowed --> $DIR/issue-57979-nested-impl-trait-in-assoc-proj.rs:32:45 @@ -30,7 +30,7 @@ note: lint level defined here LL | #![deny(nested_impl_trait)] | ^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #59014 + = note: see issue #59014 for more information error: aborting due to previous error diff --git a/src/test/ui/impl-trait/where-allowed.stderr b/src/test/ui/impl-trait/where-allowed.stderr index 1332fff84f50a..8f2fdb8eab019 100644 --- a/src/test/ui/impl-trait/where-allowed.stderr +++ b/src/test/ui/impl-trait/where-allowed.stderr @@ -22,7 +22,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Out = impl Debug; | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/63063 + = note: see issue #63063 for more information = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable error[E0658]: `impl Trait` in type aliases is unstable @@ -31,7 +31,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type InTypeAlias = impl Debug; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/63063 + = note: see issue #63063 for more information = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable error[E0562]: `impl Trait` not allowed outside of function and inherent method return types diff --git a/src/test/ui/imports/local-modularized-tricky-fail-2.stderr b/src/test/ui/imports/local-modularized-tricky-fail-2.stderr index 92a836cadfa7b..15de7e8131b1f 100644 --- a/src/test/ui/imports/local-modularized-tricky-fail-2.stderr +++ b/src/test/ui/imports/local-modularized-tricky-fail-2.stderr @@ -7,7 +7,7 @@ LL | exported!(); LL | () => ( struct Б; ) | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -19,7 +19,7 @@ LL | panic!(); LL | () => ( struct Г; ) | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -31,7 +31,7 @@ LL | include!(); LL | () => ( struct Д; ) | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/imports/local-modularized-tricky-fail-3.stderr b/src/test/ui/imports/local-modularized-tricky-fail-3.stderr index 5272d2a319faa..64155e86cbfe2 100644 --- a/src/test/ui/imports/local-modularized-tricky-fail-3.stderr +++ b/src/test/ui/imports/local-modularized-tricky-fail-3.stderr @@ -6,7 +6,7 @@ LL | use exported; | = note: `#[deny(macro_expanded_macro_exports_accessed_by_absolute_paths)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #52234 + = note: see issue #52234 for more information note: the macro is defined here --> $DIR/local-modularized-tricky-fail-3.rs:5:5 | @@ -25,7 +25,7 @@ LL | ::exported!(); | ^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #52234 + = note: see issue #52234 for more information note: the macro is defined here --> $DIR/local-modularized-tricky-fail-3.rs:5:5 | diff --git a/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr b/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr index b5b885e233fe0..a7f208e520fc5 100644 --- a/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr +++ b/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr @@ -6,5 +6,5 @@ LL | if data.is_null() {} | = note: `#[warn(tyvar_behind_raw_pointer)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #46906 + = note: see issue #46906 for more information diff --git a/src/test/ui/inference/inference_unstable.stderr b/src/test/ui/inference/inference_unstable.stderr index 1f5cc8b13fb46..b20550ff95eb8 100644 --- a/src/test/ui/inference/inference_unstable.stderr +++ b/src/test/ui/inference/inference_unstable.stderr @@ -6,7 +6,7 @@ LL | assert_eq!('x'.ipu_flatten(), 1); | = note: `#[warn(unstable_name_collisions)]` on by default = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! - = note: for more information, see issue #48919 + = note: see issue #48919 for more information = help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_flatten(...)` to keep using the current method = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_flatten` diff --git a/src/test/ui/inference/inference_unstable_forced.stderr b/src/test/ui/inference/inference_unstable_forced.stderr index 79a0b60b0a7cf..a1c4cd851cb94 100644 --- a/src/test/ui/inference/inference_unstable_forced.stderr +++ b/src/test/ui/inference/inference_unstable_forced.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'ipu_flatten' LL | assert_eq!('x'.ipu_flatten(), 0); | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/99999 + = note: see issue #99999 for more information = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/issues/issue-17458.stderr b/src/test/ui/issues/issue-17458.stderr index bb667e7b7d483..68e86ea21bd96 100644 --- a/src/test/ui/issues/issue-17458.stderr +++ b/src/test/ui/issues/issue-17458.stderr @@ -4,7 +4,7 @@ error[E0658]: casting pointers to integers in statics is unstable LL | static X: usize = unsafe { core::ptr::null::() as usize }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51910 + = note: see issue #51910 for more information = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/issues/issue-18294.stderr b/src/test/ui/issues/issue-18294.stderr index 7d6ef5eee0787..52df558bfce5e 100644 --- a/src/test/ui/issues/issue-18294.stderr +++ b/src/test/ui/issues/issue-18294.stderr @@ -4,7 +4,7 @@ error[E0658]: casting pointers to integers in constants is unstable LL | const Y: usize = unsafe { &X as *const u32 as usize }; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51910 + = note: see issue #51910 for more information = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/issues/issue-20313.stderr b/src/test/ui/issues/issue-20313.stderr index a3fa7ebba8ef1..7a0b344a5aa22 100644 --- a/src/test/ui/issues/issue-20313.stderr +++ b/src/test/ui/issues/issue-20313.stderr @@ -4,7 +4,7 @@ error[E0658]: linking to LLVM intrinsics is experimental LL | fn sqrt(x: f32) -> f32; | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29602 + = note: see issue #29602 for more information = help: add `#![feature(link_llvm_intrinsics)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/issues/issue-22644.stderr b/src/test/ui/issues/issue-22644.stderr index 0fe167963c3f4..1aa4e7dce2990 100644 --- a/src/test/ui/issues/issue-22644.stderr +++ b/src/test/ui/issues/issue-22644.stderr @@ -92,7 +92,7 @@ LL | println!("{}", a: &mut 4); | tried to parse a type due to this type ascription | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to 9 previous errors diff --git a/src/test/ui/issues/issue-23024.stderr b/src/test/ui/issues/issue-23024.stderr index 43561938ef1c6..697ea83e296cf 100644 --- a/src/test/ui/issues/issue-23024.stderr +++ b/src/test/ui/issues/issue-23024.stderr @@ -4,7 +4,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | println!("{:?}",(vfnfer[0] as dyn Fn)(3)); | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0107]: wrong number of type arguments: expected 1, found 0 diff --git a/src/test/ui/issues/issue-25439.stderr b/src/test/ui/issues/issue-25439.stderr index 9b04148313256..34c457068eb69 100644 --- a/src/test/ui/issues/issue-25439.stderr +++ b/src/test/ui/issues/issue-25439.stderr @@ -6,7 +6,7 @@ LL | fix(|_, x| x); | = note: closures cannot capture themselves or take themselves as argument; this error may be the result of a recent compiler bug-fix, - see https://github.com/rust-lang/rust/issues/46062 for more details + see issue #46062 for more information error: aborting due to previous error diff --git a/src/test/ui/issues/issue-25826.stderr b/src/test/ui/issues/issue-25826.stderr index 84d5aeef63a6f..3a5a6b509ba9d 100644 --- a/src/test/ui/issues/issue-25826.stderr +++ b/src/test/ui/issues/issue-25826.stderr @@ -4,7 +4,7 @@ error[E0658]: comparing raw pointers inside constant LL | const A: bool = unsafe { id:: as *const () < id:: as *const () }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53020 + = note: see issue #53020 for more information = help: add `#![feature(const_compare_raw_pointers)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/issues/issue-27060.stderr b/src/test/ui/issues/issue-27060.stderr index bc44c1a4ac571..0543e6c05da89 100644 --- a/src/test/ui/issues/issue-27060.stderr +++ b/src/test/ui/issues/issue-27060.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #[deny(safe_packed_borrows)] | ^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #46043 + = note: see issue #46043 for more information = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior error: borrow of packed field is unsafe and requires unsafe function or block (error E0133) @@ -20,7 +20,7 @@ LL | let _ = &good.data2[0]; | ^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #46043 + = note: see issue #46043 for more information = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior error: aborting due to 2 previous errors diff --git a/src/test/ui/issues/issue-30079.stderr b/src/test/ui/issues/issue-30079.stderr index 6fc8b810745aa..6140b6ab387e2 100644 --- a/src/test/ui/issues/issue-30079.stderr +++ b/src/test/ui/issues/issue-30079.stderr @@ -6,7 +6,7 @@ LL | pub fn f(_: Priv) {} | = note: `#[warn(private_in_public)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error[E0446]: private type `m2::Priv` in public interface --> $DIR/issue-30079.rs:18:9 diff --git a/src/test/ui/issues/issue-32829.stderr b/src/test/ui/issues/issue-32829.stderr index b620abbf436d7..93234177daeac 100644 --- a/src/test/ui/issues/issue-32829.stderr +++ b/src/test/ui/issues/issue-32829.stderr @@ -4,7 +4,7 @@ error[E0658]: panicking in statics is unstable LL | static S : u64 = { { panic!("foo"); 0 } }; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51999 + = note: see issue #51999 for more information = help: add `#![feature(const_panic)]` to the crate attributes to enable = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) diff --git a/src/test/ui/issues/issue-32995-2.stderr b/src/test/ui/issues/issue-32995-2.stderr index 4a580b09bf372..b75bec58a887c 100644 --- a/src/test/ui/issues/issue-32995-2.stderr +++ b/src/test/ui/issues/issue-32995-2.stderr @@ -6,7 +6,7 @@ LL | { fn f() {} } | = note: `#[deny(parenthesized_params_in_types_and_modules)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: parenthesized type parameters may only be used with a `Fn` trait --> $DIR/issue-32995-2.rs:8:35 @@ -15,7 +15,7 @@ LL | { fn f() -> impl ::std::marker()::Send { } } | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: parenthesized type parameters may only be used with a `Fn` trait --> $DIR/issue-32995-2.rs:16:19 @@ -24,7 +24,7 @@ LL | impl ::std::marker()::Copy for X {} | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: aborting due to 3 previous errors diff --git a/src/test/ui/issues/issue-32995.stderr b/src/test/ui/issues/issue-32995.stderr index 59d93ece06742..1a29835280198 100644 --- a/src/test/ui/issues/issue-32995.stderr +++ b/src/test/ui/issues/issue-32995.stderr @@ -6,7 +6,7 @@ LL | let x: usize() = 1; | = note: `#[deny(parenthesized_params_in_types_and_modules)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: parenthesized type parameters may only be used with a `Fn` trait --> $DIR/issue-32995.rs:8:24 @@ -15,7 +15,7 @@ LL | let b: ::std::boxed()::Box<_> = Box::new(1); | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: parenthesized type parameters may only be used with a `Fn` trait --> $DIR/issue-32995.rs:12:25 @@ -24,7 +24,7 @@ LL | let p = ::std::str::()::from_utf8(b"foo").unwrap(); | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: parenthesized type parameters may only be used with a `Fn` trait --> $DIR/issue-32995.rs:16:36 @@ -33,7 +33,7 @@ LL | let p = ::std::str::from_utf8::()(b"foo").unwrap(); | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: parenthesized type parameters may only be used with a `Fn` trait --> $DIR/issue-32995.rs:20:35 @@ -42,7 +42,7 @@ LL | let o : Box = Box::new(1); | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: parenthesized type parameters may only be used with a `Fn` trait --> $DIR/issue-32995.rs:24:41 @@ -51,7 +51,7 @@ LL | let o : Box = Box::new(1); | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: parenthesized type parameters may only be used with a `Fn` trait --> $DIR/issue-32995.rs:30:14 @@ -60,7 +60,7 @@ LL | let d : X() = Default::default(); | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error: aborting due to 7 previous errors diff --git a/src/test/ui/issues/issue-33140-traitobject-crate.stderr b/src/test/ui/issues/issue-33140-traitobject-crate.stderr index 76db98aa38bb4..97ee19c1abfcc 100644 --- a/src/test/ui/issues/issue-33140-traitobject-crate.stderr +++ b/src/test/ui/issues/issue-33140-traitobject-crate.stderr @@ -12,7 +12,7 @@ note: lint level defined here LL | #![warn(order_dependent_trait_objects)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #56484 + = note: see issue #56484 for more information warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119) --> $DIR/issue-33140-traitobject-crate.rs:86:1 @@ -23,7 +23,7 @@ LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #56484 + = note: see issue #56484 for more information warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119) --> $DIR/issue-33140-traitobject-crate.rs:88:1 @@ -35,5 +35,5 @@ LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send + Sync { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #56484 + = note: see issue #56484 for more information diff --git a/src/test/ui/issues/issue-34255-1.stderr b/src/test/ui/issues/issue-34255-1.stderr index acb093b51428b..c8bad3b3bb502 100644 --- a/src/test/ui/issues/issue-34255-1.stderr +++ b/src/test/ui/issues/issue-34255-1.stderr @@ -7,7 +7,7 @@ LL | Test::Drill(field: 42); | tried to parse a type due to this type ascription | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to previous error diff --git a/src/test/ui/issues/issue-37550.stderr b/src/test/ui/issues/issue-37550.stderr index c1523e911fd2b..35da625801617 100644 --- a/src/test/ui/issues/issue-37550.stderr +++ b/src/test/ui/issues/issue-37550.stderr @@ -4,7 +4,7 @@ error[E0723]: function pointers in const fn are unstable LL | let x = || t; | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/issues/issue-37887.stderr b/src/test/ui/issues/issue-37887.stderr index b1b9754523f67..b704f1ad52d87 100644 --- a/src/test/ui/issues/issue-37887.stderr +++ b/src/test/ui/issues/issue-37887.stderr @@ -10,7 +10,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei LL | extern crate libc; | ^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27812 + = note: see issue #27812 for more information = help: add `#![feature(rustc_private)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/issues/issue-38715.stderr b/src/test/ui/issues/issue-38715.stderr index 02b96d2d2449c..6e7612f12caf1 100644 --- a/src/test/ui/issues/issue-38715.stderr +++ b/src/test/ui/issues/issue-38715.stderr @@ -6,7 +6,7 @@ LL | macro_rules! foo { () => {} } | = note: `#[deny(duplicate_macro_exports)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #35896 + = note: see issue #35896 for more information note: previous macro export is now shadowed --> $DIR/issue-38715.rs:2:1 | diff --git a/src/test/ui/issues/issue-39404.stderr b/src/test/ui/issues/issue-39404.stderr index d2f2a823c2a6b..ac26b5bf86ee3 100644 --- a/src/test/ui/issues/issue-39404.stderr +++ b/src/test/ui/issues/issue-39404.stderr @@ -6,7 +6,7 @@ LL | macro_rules! m { ($i) => {} } | = note: `#[deny(missing_fragment_specifier)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #40107 + = note: see issue #40107 for more information error: aborting due to previous error diff --git a/src/test/ui/issues/issue-41255.stderr b/src/test/ui/issues/issue-41255.stderr index c334742cfc4a4..d77b8aa751ba8 100644 --- a/src/test/ui/issues/issue-41255.stderr +++ b/src/test/ui/issues/issue-41255.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![forbid(illegal_floating_point_literal_pattern)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:14:9 @@ -19,7 +19,7 @@ LL | 5.0f32 => {}, | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:16:10 @@ -28,7 +28,7 @@ LL | -5.0 => {}, | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:18:9 @@ -37,7 +37,7 @@ LL | 1.0 .. 33.0 => {}, | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:18:16 @@ -46,7 +46,7 @@ LL | 1.0 .. 33.0 => {}, | ^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:22:9 @@ -55,7 +55,7 @@ LL | 39.0 ..= 70.0 => {}, | ^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:22:18 @@ -64,7 +64,7 @@ LL | 39.0 ..= 70.0 => {}, | ^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:31:10 @@ -73,7 +73,7 @@ LL | (3.14, 1) => {}, | ^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:38:18 @@ -82,7 +82,7 @@ LL | Foo { x: 2.0 } => {}, | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-41255.rs:10:9 @@ -91,7 +91,7 @@ LL | 5.0 => {}, | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: aborting due to 10 previous errors diff --git a/src/test/ui/issues/issue-44406.stderr b/src/test/ui/issues/issue-44406.stderr index 108542c9b6f13..db05bbcad0ded 100644 --- a/src/test/ui/issues/issue-44406.stderr +++ b/src/test/ui/issues/issue-44406.stderr @@ -18,7 +18,7 @@ LL | foo!(true); | ^^^^ expected type | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/issues/issue-50781.stderr b/src/test/ui/issues/issue-50781.stderr index c98f78c51ee5f..3178de390c919 100644 --- a/src/test/ui/issues/issue-50781.stderr +++ b/src/test/ui/issues/issue-50781.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(where_clauses_object_safety)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #51443 + = note: see issue #51443 for more information = note: method `foo` references the `Self` type in where clauses error: aborting due to previous error diff --git a/src/test/ui/issues/issue-52023-array-size-pointer-cast.stderr b/src/test/ui/issues/issue-52023-array-size-pointer-cast.stderr index 68ee53754161c..0108a37e8f5c2 100644 --- a/src/test/ui/issues/issue-52023-array-size-pointer-cast.stderr +++ b/src/test/ui/issues/issue-52023-array-size-pointer-cast.stderr @@ -4,7 +4,7 @@ error[E0658]: casting pointers to integers in constants is unstable LL | let _ = [0; (&0 as *const i32) as usize]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/51910 + = note: see issue #51910 for more information = help: add `#![feature(const_raw_ptr_to_usize_cast)]` to the crate attributes to enable error[E0080]: evaluation of constant value failed diff --git a/src/test/ui/issues/issue-55511.stderr b/src/test/ui/issues/issue-55511.stderr index e094256f5c827..7dda60531ef62 100644 --- a/src/test/ui/issues/issue-55511.stderr +++ b/src/test/ui/issues/issue-55511.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![warn(indirect_structural_match)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #62411 + = note: see issue #62411 for more information error[E0597]: `a` does not live long enough --> $DIR/issue-55511.rs:13:28 diff --git a/src/test/ui/issues/issue-60622.stderr b/src/test/ui/issues/issue-60622.stderr index da0ae1541bb8f..8ab681644ad11 100644 --- a/src/test/ui/issues/issue-60622.stderr +++ b/src/test/ui/issues/issue-60622.stderr @@ -14,7 +14,7 @@ LL | #![deny(warnings)] | ^^^^^^^^ = note: `#[deny(late_bound_lifetime_arguments)]` implied by `#[deny(warnings)]` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error[E0107]: wrong number of type arguments: expected 0, found 1 --> $DIR/issue-60622.rs:12:15 diff --git a/src/test/ui/issues/issue-6804.stderr b/src/test/ui/issues/issue-6804.stderr index ab4467e5135ed..8ef7d0f170366 100644 --- a/src/test/ui/issues/issue-6804.stderr +++ b/src/test/ui/issues/issue-6804.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(illegal_floating_point_literal_pattern)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-6804.rs:19:10 @@ -19,7 +19,7 @@ LL | [NAN, _] => {}, | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: floating-point types cannot be used in patterns --> $DIR/issue-6804.rs:11:9 @@ -28,7 +28,7 @@ LL | NAN => {}, | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: aborting due to 3 previous errors diff --git a/src/test/ui/lifetime_starts_expressions.stderr b/src/test/ui/lifetime_starts_expressions.stderr index bacba10b55fba..ecba1c0b05415 100644 --- a/src/test/ui/lifetime_starts_expressions.stderr +++ b/src/test/ui/lifetime_starts_expressions.stderr @@ -17,7 +17,7 @@ LL | loop { break 'label: loop { break 'label 42; }; } | tried to parse a type due to this type ascription | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/linkage-attr/linkage4.stderr b/src/test/ui/linkage-attr/linkage4.stderr index b46941067ad01..30d4d2b7bbabf 100644 --- a/src/test/ui/linkage-attr/linkage4.stderr +++ b/src/test/ui/linkage-attr/linkage4.stderr @@ -4,7 +4,7 @@ error[E0658]: the `linkage` attribute is experimental and not portable across pl LL | #[linkage = "external"] | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29603 + = note: see issue #29603 for more information = help: add `#![feature(linkage)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/lint/lint-incoherent-auto-trait-objects.stderr b/src/test/ui/lint/lint-incoherent-auto-trait-objects.stderr index 5308bba440e06..3c81d84ad72a4 100644 --- a/src/test/ui/lint/lint-incoherent-auto-trait-objects.stderr +++ b/src/test/ui/lint/lint-incoherent-auto-trait-objects.stderr @@ -9,7 +9,7 @@ LL | impl Foo for dyn Send + Send {} | = note: `#[deny(order_dependent_trait_objects)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #56484 + = note: see issue #56484 for more information error: conflicting implementations of trait `Foo` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119) --> $DIR/lint-incoherent-auto-trait-objects.rs:11:1 @@ -21,7 +21,7 @@ LL | impl Foo for dyn Sync + Send {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #56484 + = note: see issue #56484 for more information error: conflicting implementations of trait `Foo` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119) --> $DIR/lint-incoherent-auto-trait-objects.rs:15:1 @@ -33,7 +33,7 @@ LL | impl Foo for dyn Send + Sync + Send {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #56484 + = note: see issue #56484 for more information error: aborting due to 3 previous errors diff --git a/src/test/ui/lint/suggestions.stderr b/src/test/ui/lint/suggestions.stderr index 2042ed7553786..ca81b725401ed 100644 --- a/src/test/ui/lint/suggestions.stderr +++ b/src/test/ui/lint/suggestions.stderr @@ -18,7 +18,7 @@ note: lint level defined here LL | #![warn(unused_mut, unused_parens)] // UI tests pass `-A unused`—see Issue #43896 | ^^^^^^^^^^^^^ -warning: use of deprecated attribute `no_debug`: the `#[no_debug]` attribute was an experimental feature that has been deprecated due to lack of demand. See https://github.com/rust-lang/rust/issues/29721 +warning: use of deprecated attribute `no_debug`: the `#[no_debug]` attribute was an experimental feature that has been deprecated due to lack of demand. See issue #29721 --> $DIR/suggestions.rs:42:1 | LL | #[no_debug] // should suggest removal of deprecated attribute diff --git a/src/test/ui/macros/macros-in-extern.stderr b/src/test/ui/macros/macros-in-extern.stderr index 6ee33f4ab61f6..fb111eea0f364 100644 --- a/src/test/ui/macros/macros-in-extern.stderr +++ b/src/test/ui/macros/macros-in-extern.stderr @@ -4,7 +4,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | returns_isize!(rust_get_test_int); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error[E0658]: macro invocations in `extern {}` blocks are experimental @@ -13,7 +13,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | takes_u32_returns_u32!(rust_dbg_extern_identity_u32); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error[E0658]: macro invocations in `extern {}` blocks are experimental @@ -22,7 +22,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | emits_nothing!(); | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/malformed/malformed-regressions.stderr b/src/test/ui/malformed/malformed-regressions.stderr index eebb6f0623fbf..3440565a8c773 100644 --- a/src/test/ui/malformed/malformed-regressions.stderr +++ b/src/test/ui/malformed/malformed-regressions.stderr @@ -6,7 +6,7 @@ LL | #[doc] | = note: `#[warn(ill_formed_attribute_input)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57571 + = note: see issue #57571 for more information warning: attribute must be of the form `#[ignore]` or `#[ignore = "reason"]` --> $DIR/malformed-regressions.rs:4:1 @@ -15,7 +15,7 @@ LL | #[ignore()] | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57571 + = note: see issue #57571 for more information warning: attribute must be of the form `#[inline]` or `#[inline(always|never)]` --> $DIR/malformed-regressions.rs:5:1 @@ -24,7 +24,7 @@ LL | #[inline = ""] | ^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57571 + = note: see issue #57571 for more information warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]` @@ -34,7 +34,7 @@ LL | #[link] | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57571 + = note: see issue #57571 for more information warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]` @@ -44,5 +44,5 @@ LL | #[link = ""] | ^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57571 + = note: see issue #57571 for more information diff --git a/src/test/ui/match/match-range-fail-dominate.stderr b/src/test/ui/match/match-range-fail-dominate.stderr index d0ff4930a4519..17cdf3b01b054 100644 --- a/src/test/ui/match/match-range-fail-dominate.stderr +++ b/src/test/ui/match/match-range-fail-dominate.stderr @@ -36,7 +36,7 @@ LL | 0.01f64 ..= 6.5f64 => {} | = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information warning: floating-point types cannot be used in patterns --> $DIR/match-range-fail-dominate.rs:35:19 @@ -45,7 +45,7 @@ LL | 0.01f64 ..= 6.5f64 => {} | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information warning: floating-point types cannot be used in patterns --> $DIR/match-range-fail-dominate.rs:36:7 @@ -54,7 +54,7 @@ LL | 0.02f64 => {} | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: unreachable pattern --> $DIR/match-range-fail-dominate.rs:36:7 @@ -69,7 +69,7 @@ LL | 0.01f64 ..= 6.5f64 => {} | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: aborting due to 5 previous errors diff --git a/src/test/ui/methods/method-call-lifetime-args-lint-fail.stderr b/src/test/ui/methods/method-call-lifetime-args-lint-fail.stderr index b510a08ae3775..b2fb806970028 100644 --- a/src/test/ui/methods/method-call-lifetime-args-lint-fail.stderr +++ b/src/test/ui/methods/method-call-lifetime-args-lint-fail.stderr @@ -13,7 +13,7 @@ note: lint level defined here LL | #![deny(late_bound_lifetime_arguments)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:26:14 @@ -25,7 +25,7 @@ LL | S.late::<'static, 'static>(&0, &0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:29:14 @@ -37,7 +37,7 @@ LL | S.late::<'static, 'static, 'static>(&0, &0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:33:20 @@ -49,7 +49,7 @@ LL | S.late_early::<'static>(&0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:36:20 @@ -61,7 +61,7 @@ LL | S.late_early::<'static, 'static>(&0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:39:20 @@ -73,7 +73,7 @@ LL | S.late_early::<'static, 'static, 'static>(&0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:44:23 @@ -85,7 +85,7 @@ LL | S.late_implicit::<'static>(&0, &0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:47:23 @@ -97,7 +97,7 @@ LL | S.late_implicit::<'static, 'static>(&0, &0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:50:23 @@ -109,7 +109,7 @@ LL | S.late_implicit::<'static, 'static, 'static>(&0, &0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:54:29 @@ -121,7 +121,7 @@ LL | S.late_implicit_early::<'static>(&0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:57:29 @@ -133,7 +133,7 @@ LL | S.late_implicit_early::<'static, 'static>(&0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:60:29 @@ -145,7 +145,7 @@ LL | S.late_implicit_early::<'static, 'static, 'static>(&0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:69:21 @@ -157,7 +157,7 @@ LL | S::late_early::<'static>(S, &0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:73:30 @@ -169,7 +169,7 @@ LL | S::late_implicit_early::<'static>(S, &0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint-fail.rs:82:9 @@ -181,7 +181,7 @@ LL | f::<'static, u8>; | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: aborting due to 15 previous errors diff --git a/src/test/ui/methods/method-call-lifetime-args-lint.stderr b/src/test/ui/methods/method-call-lifetime-args-lint.stderr index eb1d4fe2e504e..e527834e97a82 100644 --- a/src/test/ui/methods/method-call-lifetime-args-lint.stderr +++ b/src/test/ui/methods/method-call-lifetime-args-lint.stderr @@ -13,7 +13,7 @@ note: lint level defined here LL | #![deny(late_bound_lifetime_arguments)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present --> $DIR/method-call-lifetime-args-lint.rs:16:23 @@ -25,7 +25,7 @@ LL | S.late_implicit::<'static>(&0, &0); | ^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42868 + = note: see issue #42868 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/no-patterns-in-args-2.stderr b/src/test/ui/no-patterns-in-args-2.stderr index ec7d2d9f0d114..9c96e9262da5e 100644 --- a/src/test/ui/no-patterns-in-args-2.stderr +++ b/src/test/ui/no-patterns-in-args-2.stderr @@ -16,7 +16,7 @@ note: lint level defined here LL | #![deny(patterns_in_fns_without_body)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #35203 + = note: see issue #35203 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/panic-runtime/needs-gate.stderr b/src/test/ui/panic-runtime/needs-gate.stderr index ab5d9f8cda483..e067ccaebcf64 100644 --- a/src/test/ui/panic-runtime/needs-gate.stderr +++ b/src/test/ui/panic-runtime/needs-gate.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[panic_runtime]` attribute is an experimental feature LL | #![panic_runtime] | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32837 + = note: see issue #32837 for more information = help: add `#![feature(panic_runtime)]` to the crate attributes to enable error[E0658]: the `#[needs_panic_runtime]` attribute is an experimental feature @@ -13,7 +13,7 @@ error[E0658]: the `#[needs_panic_runtime]` attribute is an experimental feature LL | #![needs_panic_runtime] | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/32837 + = note: see issue #32837 for more information = help: add `#![feature(needs_panic_runtime)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/parser/fn-arg-doc-comment.stderr b/src/test/ui/parser/fn-arg-doc-comment.stderr index d8884de1fe84d..d83c25ead020f 100644 --- a/src/test/ui/parser/fn-arg-doc-comment.stderr +++ b/src/test/ui/parser/fn-arg-doc-comment.stderr @@ -22,7 +22,7 @@ error[E0658]: attributes on function parameters are unstable LL | /// Comment | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/60406 + = note: see issue #60406 for more information = help: add `#![feature(param_attrs)]` to the crate attributes to enable error[E0658]: attributes on function parameters are unstable @@ -31,7 +31,7 @@ error[E0658]: attributes on function parameters are unstable LL | /// Other | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/60406 + = note: see issue #60406 for more information = help: add `#![feature(param_attrs)]` to the crate attributes to enable error[E0308]: mismatched types diff --git a/src/test/ui/parser/issue-17383.stderr b/src/test/ui/parser/issue-17383.stderr index 6a25c743e7766..265d6e1486614 100644 --- a/src/test/ui/parser/issue-17383.stderr +++ b/src/test/ui/parser/issue-17383.stderr @@ -7,7 +7,7 @@ LL | LL | B(usize) | -------- tuple variant defined here | - = note: for more information, see https://github.com/rust-lang/rust/issues/60553 + = note: see issue #60553 for more information = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/parser/match-vec-invalid.stderr b/src/test/ui/parser/match-vec-invalid.stderr index 0956ac21b7f1e..f5fe0396620e7 100644 --- a/src/test/ui/parser/match-vec-invalid.stderr +++ b/src/test/ui/parser/match-vec-invalid.stderr @@ -10,7 +10,7 @@ error[E0658]: subslice patterns are unstable LL | [1, tail @ .., tail @ ..] => {}, | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error[E0658]: subslice patterns are unstable @@ -19,7 +19,7 @@ error[E0658]: subslice patterns are unstable LL | [1, tail @ .., tail @ ..] => {}, | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error: `..` can only be used once per slice pattern diff --git a/src/test/ui/parser/pat-lt-bracket-6.stderr b/src/test/ui/parser/pat-lt-bracket-6.stderr index 201465b2c850c..3271ee2dc60e3 100644 --- a/src/test/ui/parser/pat-lt-bracket-6.stderr +++ b/src/test/ui/parser/pat-lt-bracket-6.stderr @@ -10,7 +10,7 @@ error[E0658]: subslice patterns are unstable LL | let Test(&desc[..]) = x; | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/62254 + = note: see issue #62254 for more information = help: add `#![feature(slice_patterns)]` to the crate attributes to enable error[E0308]: mismatched types diff --git a/src/test/ui/parser/pat-tuple-4.stderr b/src/test/ui/parser/pat-tuple-4.stderr index af3ecce184649..cff082e1ee6ba 100644 --- a/src/test/ui/parser/pat-tuple-4.stderr +++ b/src/test/ui/parser/pat-tuple-4.stderr @@ -10,7 +10,7 @@ error[E0658]: exclusive range pattern syntax is experimental LL | (.. PAT) => {} | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/37854 + = note: see issue #37854 for more information = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable error[E0308]: mismatched types diff --git a/src/test/ui/parser/pat-tuple-5.stderr b/src/test/ui/parser/pat-tuple-5.stderr index 09ebdc29a2161..fc8fd83e4b8a1 100644 --- a/src/test/ui/parser/pat-tuple-5.stderr +++ b/src/test/ui/parser/pat-tuple-5.stderr @@ -10,7 +10,7 @@ error[E0658]: exclusive range pattern syntax is experimental LL | (PAT ..) => {} | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/37854 + = note: see issue #37854 for more information = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable error[E0308]: mismatched types diff --git a/src/test/ui/parser/recover-from-bad-variant.stderr b/src/test/ui/parser/recover-from-bad-variant.stderr index b46d3ca9c233c..4aafa10d823c3 100644 --- a/src/test/ui/parser/recover-from-bad-variant.stderr +++ b/src/test/ui/parser/recover-from-bad-variant.stderr @@ -7,7 +7,7 @@ LL | let x = Enum::Foo(a: 3, b: 4); | tried to parse a type due to this type ascription | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error[E0532]: expected tuple struct/variant, found struct variant `Enum::Foo` --> $DIR/recover-from-bad-variant.rs:10:9 diff --git a/src/test/ui/parser/tag-variant-disr-non-nullary.stderr b/src/test/ui/parser/tag-variant-disr-non-nullary.stderr index 70acc70e092e0..79f044a0675b7 100644 --- a/src/test/ui/parser/tag-variant-disr-non-nullary.stderr +++ b/src/test/ui/parser/tag-variant-disr-non-nullary.stderr @@ -17,7 +17,7 @@ LL | Other(usize), LL | Other2(usize, usize), | -------------------- tuple variant defined here | - = note: for more information, see https://github.com/rust-lang/rust/issues/60553 + = note: see issue #60553 for more information = help: add `#![feature(arbitrary_enum_discriminant)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/parser/underscore-suffix-for-string.stderr b/src/test/ui/parser/underscore-suffix-for-string.stderr index 80d0d1bc83b61..0a325ae9070e4 100644 --- a/src/test/ui/parser/underscore-suffix-for-string.stderr +++ b/src/test/ui/parser/underscore-suffix-for-string.stderr @@ -5,5 +5,5 @@ LL | let _ = "Foo"_; | ^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42326 + = note: see issue #42326 for more information diff --git a/src/test/ui/privacy/legacy-ctor-visibility.stderr b/src/test/ui/privacy/legacy-ctor-visibility.stderr index 69b6e08befc67..623fe751f6881 100644 --- a/src/test/ui/privacy/legacy-ctor-visibility.stderr +++ b/src/test/ui/privacy/legacy-ctor-visibility.stderr @@ -6,7 +6,7 @@ LL | S(10); | = note: `#[deny(legacy_constructor_visibility)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #39207 + = note: see issue #39207 for more information error: aborting due to previous error diff --git a/src/test/ui/privacy/private-in-public-assoc-ty.stderr b/src/test/ui/privacy/private-in-public-assoc-ty.stderr index 158862f9228cc..2ab638f0e7131 100644 --- a/src/test/ui/privacy/private-in-public-assoc-ty.stderr +++ b/src/test/ui/privacy/private-in-public-assoc-ty.stderr @@ -12,7 +12,7 @@ LL | | } | = note: `#[warn(private_in_public)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information warning: private type `m::Priv` in public interface (error E0446) --> $DIR/private-in-public-assoc-ty.rs:16:5 @@ -27,7 +27,7 @@ LL | | } | |_____^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error[E0446]: private type `m::Priv` in public interface --> $DIR/private-in-public-assoc-ty.rs:25:9 diff --git a/src/test/ui/privacy/private-in-public-non-principal.stderr b/src/test/ui/privacy/private-in-public-non-principal.stderr index 4f2a5ea45aa32..12b457ec5652b 100644 --- a/src/test/ui/privacy/private-in-public-non-principal.stderr +++ b/src/test/ui/privacy/private-in-public-non-principal.stderr @@ -6,7 +6,7 @@ LL | pub fn leak_dyn_nonprincipal() -> Box | = note: `#[warn(private_in_public)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: missing documentation for a method --> $DIR/private-in-public-non-principal.rs:13:9 diff --git a/src/test/ui/privacy/private-in-public-warn.stderr b/src/test/ui/privacy/private-in-public-warn.stderr index 9741f3b6d0d41..37fe8c23f5bda 100644 --- a/src/test/ui/privacy/private-in-public-warn.stderr +++ b/src/test/ui/privacy/private-in-public-warn.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(private_in_public)] | ^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `types::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:18:12 @@ -19,7 +19,7 @@ LL | V1(Priv), | ^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `types::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:20:14 @@ -28,7 +28,7 @@ LL | V2 { field: Priv }, | ^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `types::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:24:9 @@ -37,7 +37,7 @@ LL | const C: Priv = Priv; | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error[E0446]: private type `types::Priv` in public interface --> $DIR/private-in-public-warn.rs:26:9 @@ -55,7 +55,7 @@ LL | fn f1(arg: Priv) {} | ^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `types::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:29:9 @@ -64,7 +64,7 @@ LL | fn f2() -> Priv { panic!() } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `types::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:33:9 @@ -73,7 +73,7 @@ LL | pub static ES: Priv; | ^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `types::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:35:9 @@ -82,7 +82,7 @@ LL | pub fn ef1(arg: Priv); | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `types::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:37:9 @@ -91,7 +91,7 @@ LL | pub fn ef2() -> Priv; | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error[E0446]: private type `types::Priv` in public interface --> $DIR/private-in-public-warn.rs:41:9 @@ -109,7 +109,7 @@ LL | pub type Alias = T; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:53:5 @@ -118,7 +118,7 @@ LL | pub trait Tr1: PrivTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:55:5 @@ -127,7 +127,7 @@ LL | pub trait Tr2 {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:57:5 @@ -142,7 +142,7 @@ LL | | } | |_____^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:61:9 @@ -151,7 +151,7 @@ LL | fn f(arg: T) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:64:5 @@ -160,7 +160,7 @@ LL | impl Pub {} | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:66:5 @@ -169,7 +169,7 @@ LL | impl PubTr for Pub {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits_where::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:75:5 @@ -178,7 +178,7 @@ LL | pub type Alias where T: PrivTr = T; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits_where::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:79:5 @@ -187,7 +187,7 @@ LL | pub trait Tr2 where T: PrivTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits_where::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:83:9 @@ -196,7 +196,7 @@ LL | fn f(arg: T) where T: PrivTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits_where::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:87:5 @@ -205,7 +205,7 @@ LL | impl Pub where T: PrivTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `traits_where::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:90:5 @@ -214,7 +214,7 @@ LL | impl PubTr for Pub where T: PrivTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `generics::PrivTr` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:101:5 @@ -223,7 +223,7 @@ LL | pub trait Tr1: PrivTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `generics::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:104:5 @@ -232,7 +232,7 @@ LL | pub trait Tr2: PubTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `generics::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:106:5 @@ -241,7 +241,7 @@ LL | pub trait Tr3: PubTr<[Priv; 1]> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `generics::Priv` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:108:5 @@ -250,7 +250,7 @@ LL | pub trait Tr4: PubTr> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error[E0446]: private type `impls::Priv` in public interface --> $DIR/private-in-public-warn.rs:135:9 @@ -268,7 +268,7 @@ LL | pub fn f(arg: Priv) {} | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error[E0446]: private type `aliases_pub::Priv` in public interface --> $DIR/private-in-public-warn.rs:210:9 @@ -313,7 +313,7 @@ LL | pub trait Tr1: PrivUseAliasTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private trait `aliases_priv::PrivTr1` in public interface (error E0445) --> $DIR/private-in-public-warn.rs:252:5 @@ -322,7 +322,7 @@ LL | pub trait Tr2: PrivUseAliasTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: private type `aliases_priv::Priv2` in public interface (error E0446) --> $DIR/private-in-public-warn.rs:252:5 @@ -331,7 +331,7 @@ LL | pub trait Tr2: PrivUseAliasTr {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information warning: bounds on generic parameters are not enforced in type aliases --> $DIR/private-in-public-warn.rs:50:23 diff --git a/src/test/ui/proc-macro/attr-stmt-expr.stderr b/src/test/ui/proc-macro/attr-stmt-expr.stderr index d931a25dd4145..0d6f247cf8359 100644 --- a/src/test/ui/proc-macro/attr-stmt-expr.stderr +++ b/src/test/ui/proc-macro/attr-stmt-expr.stderr @@ -4,7 +4,7 @@ error[E0658]: attributes on expressions are experimental LL | #[expect_print_expr] | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -13,7 +13,7 @@ error[E0658]: attributes on expressions are experimental LL | #[expect_expr] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/proc-macro/expand-to-unstable-2.stderr b/src/test/ui/proc-macro/expand-to-unstable-2.stderr index 01e6a4a8ab95d..c340de9408c75 100644 --- a/src/test/ui/proc-macro/expand-to-unstable-2.stderr +++ b/src/test/ui/proc-macro/expand-to-unstable-2.stderr @@ -4,7 +4,7 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust LL | #[derive(Unstable)] | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/proc-macro/generate-mod.stderr b/src/test/ui/proc-macro/generate-mod.stderr index 51bbb23da7540..49a8274539d6c 100644 --- a/src/test/ui/proc-macro/generate-mod.stderr +++ b/src/test/ui/proc-macro/generate-mod.stderr @@ -30,7 +30,7 @@ LL | #[derive(generate_mod::CheckDerive)] | = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #50504 + = note: see issue #50504 for more information warning: cannot find type `OuterDerive` in this scope --> $DIR/generate-mod.rs:16:10 @@ -39,7 +39,7 @@ LL | #[derive(generate_mod::CheckDerive)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #50504 + = note: see issue #50504 for more information warning: cannot find type `FromOutside` in this scope --> $DIR/generate-mod.rs:23:14 @@ -48,7 +48,7 @@ LL | #[derive(generate_mod::CheckDerive)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #50504 + = note: see issue #50504 for more information warning: cannot find type `OuterDerive` in this scope --> $DIR/generate-mod.rs:23:14 @@ -57,7 +57,7 @@ LL | #[derive(generate_mod::CheckDerive)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #50504 + = note: see issue #50504 for more information error: aborting due to 4 previous errors diff --git a/src/test/ui/proc-macro/macros-in-extern.stderr b/src/test/ui/proc-macro/macros-in-extern.stderr index 6049c2aa4482e..1220315726d8c 100644 --- a/src/test/ui/proc-macro/macros-in-extern.stderr +++ b/src/test/ui/proc-macro/macros-in-extern.stderr @@ -4,7 +4,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | #[empty_attr] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error[E0658]: macro invocations in `extern {}` blocks are experimental @@ -13,7 +13,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | #[identity_attr] | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error[E0658]: macro invocations in `extern {}` blocks are experimental @@ -22,7 +22,7 @@ error[E0658]: macro invocations in `extern {}` blocks are experimental LL | identity!(fn rust_dbg_extern_identity_u32(arg: u32) -> u32;); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49476 + = note: see issue #49476 for more information = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/proc-macro/more-gates.stderr b/src/test/ui/proc-macro/more-gates.stderr index ad96f78c77ad0..28220fd813c64 100644 --- a/src/test/ui/proc-macro/more-gates.stderr +++ b/src/test/ui/proc-macro/more-gates.stderr @@ -4,7 +4,7 @@ error[E0658]: procedural macros cannot expand to macro definitions LL | #[attr2mac1] | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot expand to macro definitions @@ -13,7 +13,7 @@ error[E0658]: procedural macros cannot expand to macro definitions LL | #[attr2mac2] | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot expand to macro definitions @@ -22,7 +22,7 @@ error[E0658]: procedural macros cannot expand to macro definitions LL | mac2mac1!(); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot expand to macro definitions @@ -31,7 +31,7 @@ error[E0658]: procedural macros cannot expand to macro definitions LL | mac2mac2!(); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot expand to macro definitions @@ -40,7 +40,7 @@ error[E0658]: procedural macros cannot expand to macro definitions LL | tricky!(); | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error: aborting due to 5 previous errors diff --git a/src/test/ui/proc-macro/proc-macro-gates.stderr b/src/test/ui/proc-macro/proc-macro-gates.stderr index 8462b564ec1d7..a40c83a50b9b7 100644 --- a/src/test/ui/proc-macro/proc-macro-gates.stderr +++ b/src/test/ui/proc-macro/proc-macro-gates.stderr @@ -4,7 +4,7 @@ error[E0658]: non-builtin inner attributes are unstable LL | #![empty_attr] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54726 + = note: see issue #54726 for more information = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable error[E0658]: non-builtin inner attributes are unstable @@ -13,7 +13,7 @@ error[E0658]: non-builtin inner attributes are unstable LL | #![empty_attr] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54726 + = note: see issue #54726 for more information = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable error[E0658]: custom attributes cannot be applied to modules @@ -22,7 +22,7 @@ error[E0658]: custom attributes cannot be applied to modules LL | #[empty_attr] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: custom attributes cannot be applied to modules @@ -31,7 +31,7 @@ error[E0658]: custom attributes cannot be applied to modules LL | #![empty_attr] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error: custom attribute invocations must be of the form `#[foo]` or `#[foo(..)]`, the macro name must only be followed by a delimiter token @@ -46,7 +46,7 @@ error[E0658]: custom attributes cannot be applied to statements LL | #[empty_attr] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: custom attributes cannot be applied to statements @@ -55,7 +55,7 @@ error[E0658]: custom attributes cannot be applied to statements LL | #[empty_attr] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: custom attributes cannot be applied to statements @@ -64,7 +64,7 @@ error[E0658]: custom attributes cannot be applied to statements LL | #[empty_attr] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: custom attributes cannot be applied to expressions @@ -73,7 +73,7 @@ error[E0658]: custom attributes cannot be applied to expressions LL | let _x = #[identity_attr] 2; | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: custom attributes cannot be applied to expressions @@ -82,7 +82,7 @@ error[E0658]: custom attributes cannot be applied to expressions LL | let _x = [#[identity_attr] 2]; | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: custom attributes cannot be applied to expressions @@ -91,7 +91,7 @@ error[E0658]: custom attributes cannot be applied to expressions LL | let _x = #[identity_attr] println!(); | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot be expanded to types @@ -100,7 +100,7 @@ error[E0658]: procedural macros cannot be expanded to types LL | let _x: identity!(u32) = 3; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot be expanded to patterns @@ -109,7 +109,7 @@ error[E0658]: procedural macros cannot be expanded to patterns LL | if let identity!(Some(_x)) = Some(3) {} | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot be expanded to statements @@ -118,7 +118,7 @@ error[E0658]: procedural macros cannot be expanded to statements LL | empty!(struct S;); | ^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot be expanded to statements @@ -127,7 +127,7 @@ error[E0658]: procedural macros cannot be expanded to statements LL | empty!(let _x = 3;); | ^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot be expanded to expressions @@ -136,7 +136,7 @@ error[E0658]: procedural macros cannot be expanded to expressions LL | let _x = identity!(3); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error[E0658]: procedural macros cannot be expanded to expressions @@ -145,7 +145,7 @@ error[E0658]: procedural macros cannot be expanded to expressions LL | let _x = [empty!(3)]; | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54727 + = note: see issue #54727 for more information = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable error: aborting due to 17 previous errors diff --git a/src/test/ui/proc-macro/proc-macro-gates2.stderr b/src/test/ui/proc-macro/proc-macro-gates2.stderr index a7f6f8bfb13d6..a0856ec07a901 100644 --- a/src/test/ui/proc-macro/proc-macro-gates2.stderr +++ b/src/test/ui/proc-macro/proc-macro-gates2.stderr @@ -4,7 +4,7 @@ error[E0658]: the attribute `empty_attr` is currently unknown to the compiler an LL | fn _test6<#[empty_attr] T>() {} | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `empty_attr` is currently unknown to the compiler and may have meaning added to it in the future @@ -13,7 +13,7 @@ error[E0658]: the attribute `empty_attr` is currently unknown to the compiler an LL | #[empty_attr] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/pub/pub-reexport-priv-extern-crate.stderr b/src/test/ui/pub/pub-reexport-priv-extern-crate.stderr index 0b44c5a6525f6..9bc47cb203d49 100644 --- a/src/test/ui/pub/pub-reexport-priv-extern-crate.stderr +++ b/src/test/ui/pub/pub-reexport-priv-extern-crate.stderr @@ -6,7 +6,7 @@ LL | pub use core as reexported_core; | = note: `#[deny(pub_use_of_private_extern_crate)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: extern crate `core` is private, and cannot be re-exported (error E0365), consider declaring with `pub` --> $DIR/pub-reexport-priv-extern-crate.rs:12:9 @@ -15,7 +15,7 @@ LL | use foo1::core; | ^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: extern crate `core` is private, and cannot be re-exported (error E0365), consider declaring with `pub` --> $DIR/pub-reexport-priv-extern-crate.rs:20:13 @@ -24,7 +24,7 @@ LL | pub use foo2::bar::core; | ^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #34537 + = note: see issue #34537 for more information error: aborting due to 3 previous errors diff --git a/src/test/ui/reserved/reserved-attr-on-macro.stderr b/src/test/ui/reserved/reserved-attr-on-macro.stderr index d4b97d290ea89..c0e99499a019a 100644 --- a/src/test/ui/reserved/reserved-attr-on-macro.stderr +++ b/src/test/ui/reserved/reserved-attr-on-macro.stderr @@ -4,7 +4,7 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust LL | #[rustc_attribute_should_be_reserved] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: cannot find attribute macro `rustc_attribute_should_be_reserved` in this scope diff --git a/src/test/ui/rfc-2497-if-let-chains/feature-gate.stderr b/src/test/ui/rfc-2497-if-let-chains/feature-gate.stderr index abe200944b969..9877835da777f 100644 --- a/src/test/ui/rfc-2497-if-let-chains/feature-gate.stderr +++ b/src/test/ui/rfc-2497-if-let-chains/feature-gate.stderr @@ -13,7 +13,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if (let 0 = 1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -22,7 +22,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if (((let 0 = 1))) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -31,7 +31,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if true && let 0 = 1 {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -40,7 +40,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if let 0 = 1 && true {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -49,7 +49,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if (let 0 = 1) && true {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -58,7 +58,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if true && (let 0 = 1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -67,7 +67,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if (let 0 = 1) && (let 0 = 1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -76,7 +76,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if (let 0 = 1) && (let 0 = 1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -85,7 +85,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -94,7 +94,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -103,7 +103,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -112,7 +112,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -121,7 +121,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -130,7 +130,7 @@ error[E0658]: `let` expressions in this position are experimental LL | if let Range { start: _, end: _ } = (true..true) && false {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -139,7 +139,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while (let 0 = 1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -148,7 +148,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while (((let 0 = 1))) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -157,7 +157,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while true && let 0 = 1 {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -166,7 +166,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while let 0 = 1 && true {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -175,7 +175,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while (let 0 = 1) && true {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -184,7 +184,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while true && (let 0 = 1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -193,7 +193,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while (let 0 = 1) && (let 0 = 1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -202,7 +202,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while (let 0 = 1) && (let 0 = 1) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -211,7 +211,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -220,7 +220,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -229,7 +229,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -238,7 +238,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -247,7 +247,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while let 0 = 1 && let 1 = 2 && (let 2 = 3 && let 3 = 4 && let 4 = 5) {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -256,7 +256,7 @@ error[E0658]: `let` expressions in this position are experimental LL | while let Range { start: _, end: _ } = (true..true) && false {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -265,7 +265,7 @@ error[E0658]: `let` expressions in this position are experimental LL | #[cfg(FALSE)] (let 0 = 1); | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -274,7 +274,7 @@ error[E0658]: `let` expressions in this position are experimental LL | noop_expr!((let 0 = 1)); | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -283,7 +283,7 @@ error[E0658]: `let` expressions in this position are experimental LL | use_expr!((let 0 = 1 && 0 == 0)); | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error[E0658]: `let` expressions in this position are experimental @@ -292,7 +292,7 @@ error[E0658]: `let` expressions in this position are experimental LL | use_expr!((let 0 = 1)); | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/53667 + = note: see issue #53667 for more information = help: add `#![feature(let_chains)]` to the crate attributes to enable error: `let` expressions are not supported here diff --git a/src/test/ui/rfc-2565-param-attrs/param-attrs-builtin-attrs.stderr b/src/test/ui/rfc-2565-param-attrs/param-attrs-builtin-attrs.stderr index a57572abb3513..323a3bd775f09 100644 --- a/src/test/ui/rfc-2565-param-attrs/param-attrs-builtin-attrs.stderr +++ b/src/test/ui/rfc-2565-param-attrs/param-attrs-builtin-attrs.stderr @@ -268,7 +268,7 @@ error[E0658]: the attribute `test` is currently unknown to the compiler and may LL | #[test] a: i32, | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `test` is currently unknown to the compiler and may have meaning added to it in the future @@ -277,7 +277,7 @@ error[E0658]: the attribute `test` is currently unknown to the compiler and may LL | #[test] a: u32, | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `test` is currently unknown to the compiler and may have meaning added to it in the future @@ -286,7 +286,7 @@ error[E0658]: the attribute `test` is currently unknown to the compiler and may LL | #[test] a: u32, | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `test` is currently unknown to the compiler and may have meaning added to it in the future @@ -295,7 +295,7 @@ error[E0658]: the attribute `test` is currently unknown to the compiler and may LL | #[test] a: i32, | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `test` is currently unknown to the compiler and may have meaning added to it in the future @@ -304,7 +304,7 @@ error[E0658]: the attribute `test` is currently unknown to the compiler and may LL | #[test] a: i32, | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `test` is currently unknown to the compiler and may have meaning added to it in the future @@ -313,7 +313,7 @@ error[E0658]: the attribute `test` is currently unknown to the compiler and may LL | #[test] a: i32, | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `test` is currently unknown to the compiler and may have meaning added to it in the future @@ -322,7 +322,7 @@ error[E0658]: the attribute `test` is currently unknown to the compiler and may LL | #[test] a: i32, | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error[E0658]: the attribute `test` is currently unknown to the compiler and may have meaning added to it in the future @@ -331,7 +331,7 @@ error[E0658]: the attribute `test` is currently unknown to the compiler and may LL | #[test] a: u32, | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(custom_attribute)]` to the crate attributes to enable error: aborting due to 52 previous errors diff --git a/src/test/ui/rfc-2565-param-attrs/param-attrs-feature-gate.stderr b/src/test/ui/rfc-2565-param-attrs/param-attrs-feature-gate.stderr index 0bb9d05dca0ac..362af4942ff50 100644 --- a/src/test/ui/rfc-2565-param-attrs/param-attrs-feature-gate.stderr +++ b/src/test/ui/rfc-2565-param-attrs/param-attrs-feature-gate.stderr @@ -10,7 +10,7 @@ error[E0658]: attributes on function parameters are unstable LL | /// Foo | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/60406 + = note: see issue #60406 for more information = help: add `#![feature(param_attrs)]` to the crate attributes to enable error[E0658]: attributes on function parameters are unstable @@ -19,7 +19,7 @@ error[E0658]: attributes on function parameters are unstable LL | #[allow(unused_variables)] a: u8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/60406 + = note: see issue #60406 for more information = help: add `#![feature(param_attrs)]` to the crate attributes to enable error: aborting due to 3 previous errors diff --git a/src/test/ui/rfc1445/cant-hide-behind-doubly-indirect-embedded.stderr b/src/test/ui/rfc1445/cant-hide-behind-doubly-indirect-embedded.stderr index 5281d576066da..7f3186574abdf 100644 --- a/src/test/ui/rfc1445/cant-hide-behind-doubly-indirect-embedded.stderr +++ b/src/test/ui/rfc1445/cant-hide-behind-doubly-indirect-embedded.stderr @@ -10,5 +10,5 @@ note: lint level defined here LL | #![warn(indirect_structural_match)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #62411 + = note: see issue #62411 for more information diff --git a/src/test/ui/rfc1445/cant-hide-behind-doubly-indirect-param.stderr b/src/test/ui/rfc1445/cant-hide-behind-doubly-indirect-param.stderr index 5d601c2c006f7..2470926f82a8a 100644 --- a/src/test/ui/rfc1445/cant-hide-behind-doubly-indirect-param.stderr +++ b/src/test/ui/rfc1445/cant-hide-behind-doubly-indirect-param.stderr @@ -10,5 +10,5 @@ note: lint level defined here LL | #![warn(indirect_structural_match)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #62411 + = note: see issue #62411 for more information diff --git a/src/test/ui/rfc1445/cant-hide-behind-indirect-struct-embedded.stderr b/src/test/ui/rfc1445/cant-hide-behind-indirect-struct-embedded.stderr index 4ac19afa706b0..3f02da2807f8e 100644 --- a/src/test/ui/rfc1445/cant-hide-behind-indirect-struct-embedded.stderr +++ b/src/test/ui/rfc1445/cant-hide-behind-indirect-struct-embedded.stderr @@ -10,5 +10,5 @@ note: lint level defined here LL | #![warn(indirect_structural_match)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #62411 + = note: see issue #62411 for more information diff --git a/src/test/ui/rfc1445/cant-hide-behind-indirect-struct-param.stderr b/src/test/ui/rfc1445/cant-hide-behind-indirect-struct-param.stderr index 4000a47987854..38f1c26d42474 100644 --- a/src/test/ui/rfc1445/cant-hide-behind-indirect-struct-param.stderr +++ b/src/test/ui/rfc1445/cant-hide-behind-indirect-struct-param.stderr @@ -10,5 +10,5 @@ note: lint level defined here LL | #![warn(indirect_structural_match)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #62411 + = note: see issue #62411 for more information diff --git a/src/test/ui/rfc1445/feature-gate.no_gate.stderr b/src/test/ui/rfc1445/feature-gate.no_gate.stderr index fa879371628d3..e7633f132537f 100644 --- a/src/test/ui/rfc1445/feature-gate.no_gate.stderr +++ b/src/test/ui/rfc1445/feature-gate.no_gate.stderr @@ -4,7 +4,7 @@ error[E0658]: the semantics of constant patterns is not yet settled LL | #[structural_match] | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/31434 + = note: see issue #31434 for more information = help: add `#![feature(structural_match)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/rfc1445/issue-62307-match-ref-ref-forbidden-without-eq.stderr b/src/test/ui/rfc1445/issue-62307-match-ref-ref-forbidden-without-eq.stderr index 0e158c2fda560..3473e0bcd842f 100644 --- a/src/test/ui/rfc1445/issue-62307-match-ref-ref-forbidden-without-eq.stderr +++ b/src/test/ui/rfc1445/issue-62307-match-ref-ref-forbidden-without-eq.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![warn(indirect_structural_match)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #62411 + = note: see issue #62411 for more information warning: to use a constant of type `B` in a pattern, `B` must be annotated with `#[derive(PartialEq, Eq)]` --> $DIR/issue-62307-match-ref-ref-forbidden-without-eq.rs:38:9 @@ -19,5 +19,5 @@ LL | RR_B1 => { println!("CLAIM RR1: {:?} matches {:?}", RR_B1, RR_B1); | ^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #62411 + = note: see issue #62411 for more information diff --git a/src/test/ui/rfc1445/match-forbidden-without-eq.stderr b/src/test/ui/rfc1445/match-forbidden-without-eq.stderr index c05bb8f19f362..e9d63b16f9c91 100644 --- a/src/test/ui/rfc1445/match-forbidden-without-eq.stderr +++ b/src/test/ui/rfc1445/match-forbidden-without-eq.stderr @@ -12,7 +12,7 @@ LL | f32::INFINITY => { } | = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information warning: floating-point types cannot be used in patterns --> $DIR/match-forbidden-without-eq.rs:20:9 @@ -21,7 +21,7 @@ LL | f32::INFINITY => { } | ^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #41620 + = note: see issue #41620 for more information error: aborting due to previous error diff --git a/src/test/ui/rfc1598-generic-associated-types/gat-dont-ice-on-absent-feature.stderr b/src/test/ui/rfc1598-generic-associated-types/gat-dont-ice-on-absent-feature.stderr index fb43a50df7823..a5db3f04c1398 100644 --- a/src/test/ui/rfc1598-generic-associated-types/gat-dont-ice-on-absent-feature.stderr +++ b/src/test/ui/rfc1598-generic-associated-types/gat-dont-ice-on-absent-feature.stderr @@ -4,7 +4,7 @@ error[E0658]: generic associated types are unstable LL | type Item<'b> = &'b Foo; | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: see issue #44265 for more information = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/rust-2018/async-ident-allowed.stderr b/src/test/ui/rust-2018/async-ident-allowed.stderr index 2394bff11816d..08619085f9e9b 100644 --- a/src/test/ui/rust-2018/async-ident-allowed.stderr +++ b/src/test/ui/rust-2018/async-ident-allowed.stderr @@ -11,7 +11,7 @@ LL | #![deny(rust_2018_compatibility)] | ^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[deny(keyword_idents)]` implied by `#[deny(rust_2018_compatibility)]` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: aborting due to previous error diff --git a/src/test/ui/rust-2018/async-ident.stderr b/src/test/ui/rust-2018/async-ident.stderr index b149533775633..57edf01b0c216 100644 --- a/src/test/ui/rust-2018/async-ident.stderr +++ b/src/test/ui/rust-2018/async-ident.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(keyword_idents)] | ^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:12:7 @@ -19,7 +19,7 @@ LL | ($async:expr, async) => {}; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:12:19 @@ -28,7 +28,7 @@ LL | ($async:expr, async) => {}; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:19:6 @@ -37,7 +37,7 @@ LL | foo!(async); | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:28:11 @@ -46,7 +46,7 @@ LL | trait async {} | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:32:10 @@ -55,7 +55,7 @@ LL | impl async for MyStruct {} | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:38:12 @@ -64,7 +64,7 @@ LL | static async: u32 = 0; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:44:11 @@ -73,7 +73,7 @@ LL | const async: u32 = 0; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:50:15 @@ -82,7 +82,7 @@ LL | impl Foo { fn async() {} } | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:55:12 @@ -91,7 +91,7 @@ LL | struct async {} | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:58:9 @@ -100,7 +100,7 @@ LL | let async: async = async {}; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:58:16 @@ -109,7 +109,7 @@ LL | let async: async = async {}; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:58:24 @@ -118,7 +118,7 @@ LL | let async: async = async {}; | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:69:19 @@ -127,7 +127,7 @@ LL | () => (pub fn async() {}) | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: `async` is a keyword in the 2018 edition --> $DIR/async-ident.rs:76:6 @@ -136,7 +136,7 @@ LL | (async) => (1) | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: aborting due to 15 previous errors diff --git a/src/test/ui/rust-2018/dyn-keyword.stderr b/src/test/ui/rust-2018/dyn-keyword.stderr index fa79df49fb665..369fb3d2d936f 100644 --- a/src/test/ui/rust-2018/dyn-keyword.stderr +++ b/src/test/ui/rust-2018/dyn-keyword.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(keyword_idents)] | ^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information error: aborting due to previous error diff --git a/src/test/ui/rust-2018/edition-lint-fully-qualified-paths.stderr b/src/test/ui/rust-2018/edition-lint-fully-qualified-paths.stderr index 412ebe1a9c48f..eef8947a339f9 100644 --- a/src/test/ui/rust-2018/edition-lint-fully-qualified-paths.stderr +++ b/src/test/ui/rust-2018/edition-lint-fully-qualified-paths.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(absolute_paths_not_starting_with_crate)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-fully-qualified-paths.rs:24:13 @@ -19,7 +19,7 @@ LL | let _: <::foo::Baz as foo::Foo>::Bar = (); | ^^^^^^^^^^ help: use `crate`: `crate::foo::Baz` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/rust-2018/edition-lint-nested-empty-paths.stderr b/src/test/ui/rust-2018/edition-lint-nested-empty-paths.stderr index 742203e998510..714e9a718774f 100644 --- a/src/test/ui/rust-2018/edition-lint-nested-empty-paths.stderr +++ b/src/test/ui/rust-2018/edition-lint-nested-empty-paths.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(absolute_paths_not_starting_with_crate)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-nested-empty-paths.rs:21:5 @@ -19,7 +19,7 @@ LL | use foo::{bar::{XX, baz::{}}}; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::foo::{bar::{XX, baz::{}}}` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-nested-empty-paths.rs:25:5 @@ -28,7 +28,7 @@ LL | use foo::{bar::{baz::{}, baz1::{}}}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::foo::{bar::{baz::{}, baz1::{}}}` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: aborting due to 3 previous errors diff --git a/src/test/ui/rust-2018/edition-lint-nested-paths.stderr b/src/test/ui/rust-2018/edition-lint-nested-paths.stderr index 6cd8e9acd1096..74bd28faa100c 100644 --- a/src/test/ui/rust-2018/edition-lint-nested-paths.stderr +++ b/src/test/ui/rust-2018/edition-lint-nested-paths.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(absolute_paths_not_starting_with_crate)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-nested-paths.rs:21:13 @@ -19,7 +19,7 @@ LL | use foo::{self as x, c}; | ^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::foo::{self as x, c}` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/rust-2018/edition-lint-paths.stderr b/src/test/ui/rust-2018/edition-lint-paths.stderr index 4f1904a1f8aba..62e1fa6e1e07b 100644 --- a/src/test/ui/rust-2018/edition-lint-paths.stderr +++ b/src/test/ui/rust-2018/edition-lint-paths.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(absolute_paths_not_starting_with_crate)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-paths.rs:18:9 @@ -19,7 +19,7 @@ LL | use bar; | ^^^ help: use `crate`: `crate::bar` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-paths.rs:23:9 @@ -28,7 +28,7 @@ LL | use {Bar as SomethingElse, main}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::{Bar as SomethingElse, main}` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-paths.rs:35:5 @@ -37,7 +37,7 @@ LL | use bar::Bar; | ^^^^^^^^ help: use `crate`: `crate::bar::Bar` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-paths.rs:47:9 @@ -46,7 +46,7 @@ LL | use *; | ^ help: use `crate`: `crate::*` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-paths.rs:52:6 @@ -55,7 +55,7 @@ LL | impl ::foo::SomeTrait for u32 { } | ^^^^^^^^^^^^^^^^ help: use `crate`: `crate::foo::SomeTrait` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/edition-lint-paths.rs:57:13 @@ -64,7 +64,7 @@ LL | let x = ::bar::Bar; | ^^^^^^^^^^ help: use `crate`: `crate::bar::Bar` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: aborting due to 7 previous errors diff --git a/src/test/ui/rust-2018/extern-crate-rename.stderr b/src/test/ui/rust-2018/extern-crate-rename.stderr index 4e33b1e959ab0..476fad4e4bd22 100644 --- a/src/test/ui/rust-2018/extern-crate-rename.stderr +++ b/src/test/ui/rust-2018/extern-crate-rename.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(absolute_paths_not_starting_with_crate)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: aborting due to previous error diff --git a/src/test/ui/rust-2018/extern-crate-submod.stderr b/src/test/ui/rust-2018/extern-crate-submod.stderr index e0b61dd265cc8..587535a77251d 100644 --- a/src/test/ui/rust-2018/extern-crate-submod.stderr +++ b/src/test/ui/rust-2018/extern-crate-submod.stderr @@ -10,7 +10,7 @@ note: lint level defined here LL | #![deny(absolute_paths_not_starting_with_crate)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information error: aborting due to previous error diff --git a/src/test/ui/rust-2018/suggestions-not-always-applicable.stderr b/src/test/ui/rust-2018/suggestions-not-always-applicable.stderr index 5add50e87f787..043de6ff10557 100644 --- a/src/test/ui/rust-2018/suggestions-not-always-applicable.stderr +++ b/src/test/ui/rust-2018/suggestions-not-always-applicable.stderr @@ -11,7 +11,7 @@ LL | #![warn(rust_2018_compatibility)] | ^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(absolute_paths_not_starting_with_crate)]` implied by `#[warn(rust_2018_compatibility)]` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition --> $DIR/suggestions-not-always-applicable.rs:17:5 @@ -20,5 +20,5 @@ LL | #[foo] | ^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #53130 + = note: see issue #53130 for more information diff --git a/src/test/ui/rust-2018/try-ident.stderr b/src/test/ui/rust-2018/try-ident.stderr index 852e3e5aed64b..4e108bd0896a6 100644 --- a/src/test/ui/rust-2018/try-ident.stderr +++ b/src/test/ui/rust-2018/try-ident.stderr @@ -11,7 +11,7 @@ LL | #![warn(rust_2018_compatibility)] | ^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(keyword_idents)]` implied by `#[warn(rust_2018_compatibility)]` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information warning: `try` is a keyword in the 2018 edition --> $DIR/try-ident.rs:10:4 @@ -20,5 +20,5 @@ LL | fn try() { | ^^^ help: you can use a raw identifier to stay compatible: `r#try` | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information diff --git a/src/test/ui/rust-2018/try-macro.stderr b/src/test/ui/rust-2018/try-macro.stderr index eb65d4150642a..b80fc7a28097a 100644 --- a/src/test/ui/rust-2018/try-macro.stderr +++ b/src/test/ui/rust-2018/try-macro.stderr @@ -11,5 +11,5 @@ LL | #![warn(rust_2018_compatibility)] | ^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(keyword_idents)]` implied by `#[warn(rust_2018_compatibility)]` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! - = note: for more information, see issue #49716 + = note: see issue #49716 for more information diff --git a/src/test/ui/safe-extern-statics.stderr b/src/test/ui/safe-extern-statics.stderr index 0948fad74e50e..0021000cf2ae0 100644 --- a/src/test/ui/safe-extern-statics.stderr +++ b/src/test/ui/safe-extern-statics.stderr @@ -6,7 +6,7 @@ LL | let a = A; | = note: `#[deny(safe_extern_statics)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #36247 + = note: see issue #36247 for more information = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior error: use of extern static is unsafe and requires unsafe function or block (error E0133) @@ -16,7 +16,7 @@ LL | let ra = &A; | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #36247 + = note: see issue #36247 for more information = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior error: use of extern static is unsafe and requires unsafe function or block (error E0133) @@ -26,7 +26,7 @@ LL | let xa = XA; | ^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #36247 + = note: see issue #36247 for more information = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior error: use of extern static is unsafe and requires unsafe function or block (error E0133) @@ -36,7 +36,7 @@ LL | let xra = &XA; | ^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #36247 + = note: see issue #36247 for more information = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior error: aborting due to 4 previous errors diff --git a/src/test/ui/span/gated-features-attr-spans.stderr b/src/test/ui/span/gated-features-attr-spans.stderr index e0af720187a79..c8b8f346b9879 100644 --- a/src/test/ui/span/gated-features-attr-spans.stderr +++ b/src/test/ui/span/gated-features-attr-spans.stderr @@ -4,7 +4,7 @@ error[E0658]: SIMD types are experimental and possibly buggy LL | #[repr(simd)] | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/27731 + = note: see issue #27731 for more information = help: add `#![feature(repr_simd)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/span/issue-36530.stderr b/src/test/ui/span/issue-36530.stderr index c6b7895e65a0f..91e023f963d84 100644 --- a/src/test/ui/span/issue-36530.stderr +++ b/src/test/ui/span/issue-36530.stderr @@ -4,7 +4,7 @@ error[E0658]: non-builtin inner attributes are unstable LL | #![foo] | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54726 + = note: see issue #54726 for more information = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/specialization/defaultimpl/specialization-feature-gate-default.stderr b/src/test/ui/specialization/defaultimpl/specialization-feature-gate-default.stderr index 2cf6c586e4169..64e14f5800f25 100644 --- a/src/test/ui/specialization/defaultimpl/specialization-feature-gate-default.stderr +++ b/src/test/ui/specialization/defaultimpl/specialization-feature-gate-default.stderr @@ -6,7 +6,7 @@ LL | | fn foo(&self) {} LL | | } | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/31844 + = note: see issue #31844 for more information = help: add `#![feature(specialization)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/specialization/specialization-feature-gate-default.stderr b/src/test/ui/specialization/specialization-feature-gate-default.stderr index df2ad8a9b265d..42dbb200c247e 100644 --- a/src/test/ui/specialization/specialization-feature-gate-default.stderr +++ b/src/test/ui/specialization/specialization-feature-gate-default.stderr @@ -4,7 +4,7 @@ error[E0658]: specialization is unstable LL | default fn foo(&self) {} | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/31844 + = note: see issue #31844 for more information = help: add `#![feature(specialization)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/stability-attribute/stability-attribute-issue.stderr b/src/test/ui/stability-attribute/stability-attribute-issue.stderr index 3463e77ec7d9b..df4aec7e5c801 100644 --- a/src/test/ui/stability-attribute/stability-attribute-issue.stderr +++ b/src/test/ui/stability-attribute/stability-attribute-issue.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'unstable_test_feature' LL | unstable(); | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/1 + = note: see issue #1 for more information = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'unstable_test_feature': message @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'unstable_test_feature': message LL | unstable_msg(); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/2 + = note: see issue #2 for more information = help: add `#![feature(unstable_test_feature)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/stmt_expr_attrs_no_feature.stderr b/src/test/ui/stmt_expr_attrs_no_feature.stderr index b6d0f9ec3d899..dc06521fe72a3 100644 --- a/src/test/ui/stmt_expr_attrs_no_feature.stderr +++ b/src/test/ui/stmt_expr_attrs_no_feature.stderr @@ -4,7 +4,7 @@ error[E0658]: attributes on expressions are experimental LL | #[rustfmt::skip] | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -13,7 +13,7 @@ error[E0658]: attributes on expressions are experimental LL | fn y(a: [u8; #[rustc_dummy] 5]); | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -22,7 +22,7 @@ error[E0658]: attributes on expressions are experimental LL | const Y: u8 = #[rustc_dummy] 5; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -31,7 +31,7 @@ error[E0658]: attributes on expressions are experimental LL | const Y: [u8; #[rustc_dummy] 5]; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -40,7 +40,7 @@ error[E0658]: attributes on expressions are experimental LL | field2: [u8; #[rustc_dummy] 5] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -49,7 +49,7 @@ error[E0658]: attributes on expressions are experimental LL | [u8; #[rustc_dummy] 5] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -58,7 +58,7 @@ error[E0658]: attributes on expressions are experimental LL | [u8; #[rustc_dummy] 5] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -67,7 +67,7 @@ error[E0658]: attributes on expressions are experimental LL | field2: [u8; #[rustc_dummy] 5] | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error[E0658]: attributes on expressions are experimental @@ -76,7 +76,7 @@ error[E0658]: attributes on expressions are experimental LL | 6 => #[rustc_dummy] (), | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/15701 + = note: see issue #15701 for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable error: aborting due to 9 previous errors diff --git a/src/test/ui/suggestions/attribute-typos.stderr b/src/test/ui/suggestions/attribute-typos.stderr index 6b2f591b9e7d9..76b5e00b836de 100644 --- a/src/test/ui/suggestions/attribute-typos.stderr +++ b/src/test/ui/suggestions/attribute-typos.stderr @@ -4,7 +4,7 @@ error[E0658]: attributes starting with `rustc` are reserved for use by the `rust LL | #[rustc_err] | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29642 + = note: see issue #29642 for more information = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: cannot find attribute macro `rustc_err` in this scope diff --git a/src/test/ui/suggestions/type-ascription-instead-of-method.stderr b/src/test/ui/suggestions/type-ascription-instead-of-method.stderr index 4a8d2f57d89d3..998129ebd1d40 100644 --- a/src/test/ui/suggestions/type-ascription-instead-of-method.stderr +++ b/src/test/ui/suggestions/type-ascription-instead-of-method.stderr @@ -7,7 +7,7 @@ LL | Box:new("foo".to_string()) | help: maybe write a path separator here: `::` | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to previous error diff --git a/src/test/ui/suggestions/type-ascription-instead-of-variant.stderr b/src/test/ui/suggestions/type-ascription-instead-of-variant.stderr index 7e9a31c06c8b2..5b40e16a51436 100644 --- a/src/test/ui/suggestions/type-ascription-instead-of-variant.stderr +++ b/src/test/ui/suggestions/type-ascription-instead-of-variant.stderr @@ -7,7 +7,7 @@ LL | let _ = Option:Some(""); | help: maybe write a path separator here: `::` | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to previous error diff --git a/src/test/ui/syntax-trait-polarity-feature-gate.stderr b/src/test/ui/syntax-trait-polarity-feature-gate.stderr index c546bc4ef7e0a..ed76377278b82 100644 --- a/src/test/ui/syntax-trait-polarity-feature-gate.stderr +++ b/src/test/ui/syntax-trait-polarity-feature-gate.stderr @@ -4,7 +4,7 @@ error[E0658]: negative trait bounds are not yet fully implemented; use marker ty LL | impl !Send for TestType {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/13231 + = note: see issue #13231 for more information = help: add `#![feature(optin_builtin_traits)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/target-feature-gate.stderr b/src/test/ui/target-feature-gate.stderr index 9f17110b6d874..467fa03370eed 100644 --- a/src/test/ui/target-feature-gate.stderr +++ b/src/test/ui/target-feature-gate.stderr @@ -4,7 +4,7 @@ error[E0658]: the target feature `avx512bw` is currently unstable LL | #[target_feature(enable = "avx512bw")] | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44839 + = note: see issue #44839 for more information = help: add `#![feature(avx512_target_feature)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/trace_macros-gate.stderr b/src/test/ui/trace_macros-gate.stderr index 7b9542730713c..f74bbddd0eb4b 100644 --- a/src/test/ui/trace_macros-gate.stderr +++ b/src/test/ui/trace_macros-gate.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is LL | trace_macros!(); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29598 + = note: see issue #29598 for more information = help: add `#![feature(trace_macros)]` to the crate attributes to enable error: trace_macros! accepts only `true` or `false` @@ -19,7 +19,7 @@ error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is LL | trace_macros!(true); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29598 + = note: see issue #29598 for more information = help: add `#![feature(trace_macros)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change @@ -28,7 +28,7 @@ error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is LL | trace_macros!(false); | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29598 + = note: see issue #29598 for more information = help: add `#![feature(trace_macros)]` to the crate attributes to enable error[E0658]: use of unstable library feature 'trace_macros': `trace_macros` is not stable enough for use and is subject to change @@ -40,7 +40,7 @@ LL | ($x: ident) => { trace_macros!($x) } LL | expando!(true); | --------------- in this macro invocation | - = note: for more information, see https://github.com/rust-lang/rust/issues/29598 + = note: see issue #29598 for more information = help: add `#![feature(trace_macros)]` to the crate attributes to enable error: aborting due to 5 previous errors diff --git a/src/test/ui/type-alias-enum-variants/enum-variant-priority-lint-ambiguous_associated_items.stderr b/src/test/ui/type-alias-enum-variants/enum-variant-priority-lint-ambiguous_associated_items.stderr index db8767273b423..6feb23ff147f8 100644 --- a/src/test/ui/type-alias-enum-variants/enum-variant-priority-lint-ambiguous_associated_items.stderr +++ b/src/test/ui/type-alias-enum-variants/enum-variant-priority-lint-ambiguous_associated_items.stderr @@ -6,7 +6,7 @@ LL | fn f() -> Self::V { 0 } | = note: `#[deny(ambiguous_associated_items)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #57644 + = note: see issue #57644 for more information note: `V` could refer to variant defined here --> $DIR/enum-variant-priority-lint-ambiguous_associated_items.rs:22:5 | diff --git a/src/test/ui/type-alias-impl-trait/issue-60371.stderr b/src/test/ui/type-alias-impl-trait/issue-60371.stderr index 1e9b12ebc39aa..7317905b22cbb 100644 --- a/src/test/ui/type-alias-impl-trait/issue-60371.stderr +++ b/src/test/ui/type-alias-impl-trait/issue-60371.stderr @@ -4,7 +4,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Item = impl Bug; | ^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/63063 + = note: see issue #63063 for more information = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable error[E0277]: the trait bound `(): Bug` is not satisfied diff --git a/src/test/ui/type/ascription/issue-34255-1.stderr b/src/test/ui/type/ascription/issue-34255-1.stderr index 531455b82b424..63f4ebf69235c 100644 --- a/src/test/ui/type/ascription/issue-34255-1.stderr +++ b/src/test/ui/type/ascription/issue-34255-1.stderr @@ -12,7 +12,7 @@ LL | input_cells: Vec::new() | = note: `#[deny(parenthesized_params_in_types_and_modules)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #42238 + = note: see issue #42238 for more information error[E0601]: `main` function not found in crate `issue_34255_1` | diff --git a/src/test/ui/type/ascription/issue-47666.stderr b/src/test/ui/type/ascription/issue-47666.stderr index 965bbe5ea41f7..598829a50abbb 100644 --- a/src/test/ui/type/ascription/issue-47666.stderr +++ b/src/test/ui/type/ascription/issue-47666.stderr @@ -9,7 +9,7 @@ LL | let _ = Option:Some(vec![0, 1]); | help: maybe write a path separator here: `::` | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: aborting due to previous error diff --git a/src/test/ui/type/ascription/issue-54516.stderr b/src/test/ui/type/ascription/issue-54516.stderr index a846f3bc320e6..d99337b53cfd6 100644 --- a/src/test/ui/type/ascription/issue-54516.stderr +++ b/src/test/ui/type/ascription/issue-54516.stderr @@ -7,7 +7,7 @@ LL | println!("{}", std::mem:size_of::>()); | help: maybe write a path separator here: `::` | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to previous error diff --git a/src/test/ui/type/ascription/issue-60933.stderr b/src/test/ui/type/ascription/issue-60933.stderr index c2fc7bbcfc865..aa1300fbf6763 100644 --- a/src/test/ui/type/ascription/issue-60933.stderr +++ b/src/test/ui/type/ascription/issue-60933.stderr @@ -7,7 +7,7 @@ LL | let u: usize = std::mem:size_of::(); | help: maybe write a path separator here: `::` | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to previous error diff --git a/src/test/ui/type/type-ascription-instead-of-statement-end.stderr b/src/test/ui/type/type-ascription-instead-of-statement-end.stderr index 8fbcb3969a79a..521ebcdf1929c 100644 --- a/src/test/ui/type/type-ascription-instead-of-statement-end.stderr +++ b/src/test/ui/type/type-ascription-instead-of-statement-end.stderr @@ -7,7 +7,7 @@ LL | 0; | ^ expected type | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: expected type, found `0` --> $DIR/type-ascription-instead-of-statement-end.rs:9:23 @@ -18,7 +18,7 @@ LL | println!("test"): 0; | tried to parse a type due to this type ascription | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` - = note: for more information, see https://github.com/rust-lang/rust/issues/23416 + = note: see issue #23416 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/unboxed-closures/unboxed-closure-feature-gate.stderr b/src/test/ui/unboxed-closures/unboxed-closure-feature-gate.stderr index a76954287e4d4..b824d160d7160 100644 --- a/src/test/ui/unboxed-closures/unboxed-closure-feature-gate.stderr +++ b/src/test/ui/unboxed-closures/unboxed-closure-feature-gate.stderr @@ -4,7 +4,7 @@ error[E0658]: parenthetical notation is only stable when used with `Fn`-family t LL | let x: Box; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/unboxed-closures/unboxed-closure-no-cyclic-sig.stderr b/src/test/ui/unboxed-closures/unboxed-closure-no-cyclic-sig.stderr index 0d3766426bd2f..fd14526822081 100644 --- a/src/test/ui/unboxed-closures/unboxed-closure-no-cyclic-sig.stderr +++ b/src/test/ui/unboxed-closures/unboxed-closure-no-cyclic-sig.stderr @@ -6,7 +6,7 @@ LL | g(|_| { }); | = note: closures cannot capture themselves or take themselves as argument; this error may be the result of a recent compiler bug-fix, - see https://github.com/rust-lang/rust/issues/46062 for more details + see issue #46062 for more information error: aborting due to previous error diff --git a/src/test/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr b/src/test/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr index c116728190f3e..c3e8164b1678f 100644 --- a/src/test/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr +++ b/src/test/ui/unboxed-closures/unboxed-closure-sugar-not-used-on-fn.stderr @@ -4,7 +4,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | fn bar1(x: &dyn Fn<(), Output=()>) { | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead @@ -13,7 +13,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | fn bar2(x: &T) where T: Fn<()> { | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/29625 + = note: see issue #29625 for more information = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/unsafe/ranged_ints2_const.stderr b/src/test/ui/unsafe/ranged_ints2_const.stderr index e99155ee10162..d508d07791de9 100644 --- a/src/test/ui/unsafe/ranged_ints2_const.stderr +++ b/src/test/ui/unsafe/ranged_ints2_const.stderr @@ -4,7 +4,7 @@ error[E0723]: mutable references in const fn are unstable LL | let y = &mut x.0; | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0723]: mutable references in const fn are unstable @@ -13,7 +13,7 @@ error[E0723]: mutable references in const fn are unstable LL | let y = unsafe { &mut x.0 }; | ^ | - = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 + = note: see issue #57563 for more information = help: add `#![feature(const_fn)]` to the crate attributes to enable error[E0133]: mutation of layout constrained field is unsafe and requires unsafe function or block diff --git a/src/test/ui/utf8_idents.stderr b/src/test/ui/utf8_idents.stderr index 56de63da4f979..8defb2c2983ef 100644 --- a/src/test/ui/utf8_idents.stderr +++ b/src/test/ui/utf8_idents.stderr @@ -4,7 +4,7 @@ error[E0658]: non-ascii idents are not fully supported LL | 'β, | ^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -13,7 +13,7 @@ error[E0658]: non-ascii idents are not fully supported LL | γ | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -22,7 +22,7 @@ error[E0658]: non-ascii idents are not fully supported LL | δ: usize | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable error[E0658]: non-ascii idents are not fully supported @@ -31,7 +31,7 @@ error[E0658]: non-ascii idents are not fully supported LL | let α = 0.00001f64; | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/55467 + = note: see issue #55467 for more information = help: add `#![feature(non_ascii_idents)]` to the crate attributes to enable warning: type parameter `γ` should have an upper camel case name From 8307000cabb34c98ef5bbfcf93ec4b72099419c0 Mon Sep 17 00:00:00 2001 From: eupn <36292692+eupn@users.noreply.github.com> Date: Tue, 30 Jul 2019 13:34:58 +0700 Subject: [PATCH 3/3] Apply suggestions from review by varkor Co-Authored-By: varkor --- src/librustc/session/mod.rs | 2 +- src/librustdoc/config.rs | 2 +- src/librustdoc/core.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/librustc/session/mod.rs b/src/librustc/session/mod.rs index 934a58d37bac6..bcf4d91a16bb1 100644 --- a/src/librustc/session/mod.rs +++ b/src/librustc/session/mod.rs @@ -1315,7 +1315,7 @@ fn validate_commandline_args_with_session_available(sess: &Session) { sess.target.target.options.is_like_msvc && sess.panic_strategy() == PanicStrategy::Unwind && sess.opts.prints.iter().all(|&p| p == PrintRequest::NativeStaticLibs) { - sess.err("Profile-guided optimization does not yet work in conjunction \ + sess.err("profile-guided optimization does not yet work in conjunction \ with `-Cpanic=unwind` on Windows when targeting MSVC. \ See issue #61002 for details."); } diff --git a/src/librustdoc/config.rs b/src/librustdoc/config.rs index 708c6c1776379..59589f876580d 100644 --- a/src/librustdoc/config.rs +++ b/src/librustdoc/config.rs @@ -518,7 +518,7 @@ fn check_deprecated_options(matches: &getopts::Matches, diag: &errors::Handler) if matches.opt_present(flag) { let mut err = diag.struct_warn(&format!("the '{}' flag is considered deprecated", flag)); - err.warn("please see issue #44136 "); + err.warn("see issue #44136 "); if *flag == "no-defaults" { err.help("you may want to use --document-private-items"); diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index e60e6370adf04..acc064672c2f1 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -402,7 +402,7 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt fn report_deprecated_attr(name: &str, diag: &errors::Handler) { let mut msg = diag.struct_warn(&format!("the `#![doc({})]` attribute is \ considered deprecated", name)); - msg.warn("please see issue \ + msg.warn("see issue \ #44136 "); if name == "no_default_passes" {