diff --git a/src/librustc/traits/error_reporting/mod.rs b/src/librustc/traits/error_reporting/mod.rs index 0c1495db267c9..a7a2b578b82da 100644 --- a/src/librustc/traits/error_reporting/mod.rs +++ b/src/librustc/traits/error_reporting/mod.rs @@ -702,11 +702,11 @@ 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: https://github.com/rust-lang/rust/issues/48950 \ - for more info). Consider whether you meant to use the \ - type `()` here instead.", + Possibly this error has been caused by changes to \ + Rust's type-inference algorithm (see issue #48950 \ + \ + for more information). Consider whether you meant to use \ + the type `()` here instead.", ); } } diff --git a/src/librustc/traits/error_reporting/suggestions.rs b/src/librustc/traits/error_reporting/suggestions.rs index bb576ae86cc1d..60e55bd7bd9ad 100644 --- a/src/librustc/traits/error_reporting/suggestions.rs +++ b/src/librustc/traits/error_reporting/suggestions.rs @@ -1511,9 +1511,9 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { ); if suggest_const_in_array_repeat_expressions { err.note( - "this array initializer can be evaluated at compile-time, for more \ - information, see issue \ - https://github.com/rust-lang/rust/issues/49147", + "this array initializer can be evaluated at compile-time, see issue \ + #48147 \ + for more information", ); if tcx.sess.opts.unstable_features.is_nightly_build() { err.help( diff --git a/src/librustc/ty/error.rs b/src/librustc/ty/error.rs index 0282f409b328d..6c5458e6e58a6 100644 --- a/src/librustc/ty/error.rs +++ b/src/librustc/ty/error.rs @@ -483,8 +483,9 @@ impl Trait for X { 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", + this error may be the result of a recent compiler bug-fix,\n\ + see issue #46062 \n\ + for more information", ); } } diff --git a/src/librustc_ast_passes/ast_validation.rs b/src/librustc_ast_passes/ast_validation.rs index 79ed7f234f72e..057acec959801 100644 --- a/src/librustc_ast_passes/ast_validation.rs +++ b/src/librustc_ast_passes/ast_validation.rs @@ -996,7 +996,8 @@ impl<'a> Visitor<'a> for AstValidator<'a> { ) .span_label(predicate.span, "not supported") .note( - "for more information, see https://github.com/rust-lang/rust/issues/20041", + "see issue #20041 \ + for more information", ) .emit(); } diff --git a/src/librustc_lint/lib.rs b/src/librustc_lint/lib.rs index 78e9d0f14f2de..07ee1cbb27d60 100644 --- a/src/librustc_lint/lib.rs +++ b/src/librustc_lint/lib.rs @@ -324,47 +324,58 @@ fn register_builtins(store: &mut LintStore, no_interleave_lints: bool) { ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); 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 \ + for more information", ); store.register_removed( "private_no_mangle_fns", @@ -377,35 +388,43 @@ fn register_builtins(store: &mut LintStore, no_interleave_lints: bool) { 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 \ + for more information", ); 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 \ + for more information", ); store.register_removed( "legacy_constructor_visibility", - "converted into hard error, see https://github.com/rust-lang/rust/issues/39207", + "converted into hard error, see issue #39207 \ + for more information", ); store.register_removed( "legacy_directory_ownership", - "converted into hard error, see https://github.com/rust-lang/rust/issues/37872", + "converted into hard error, see issue #37872 \ + for more information", ); store.register_removed( "safe_extern_statics", - "converted into hard error, see https://github.com/rust-lang/rust/issues/36247", + "converted into hard error, see issue #36247 \ + for more information", ); store.register_removed( "parenthesized_params_in_types_and_modules", - "converted into hard error, see https://github.com/rust-lang/rust/issues/42238", + "converted into hard error, see issue #42238 \ + for more information", ); store.register_removed( "duplicate_macro_exports", - "converted into hard error, see https://github.com/rust-lang/rust/issues/35896", + "converted into hard error, see issue #35896 \ + for more information", ); store.register_removed( "nested_impl_trait", - "converted into hard error, see https://github.com/rust-lang/rust/issues/59014", + "converted into hard error, see issue #59014 \ + for more information", ); store.register_removed("plugin_as_library", "plugins have been deprecated and retired"); } diff --git a/src/librustc_mir/transform/check_consts/validation.rs b/src/librustc_mir/transform/check_consts/validation.rs index 35107a31aa122..94c2f77335c21 100644 --- a/src/librustc_mir/transform/check_consts/validation.rs +++ b/src/librustc_mir/transform/check_consts/validation.rs @@ -565,7 +565,10 @@ impl Visitor<'tcx> for Validator<'_, 'mir, 'tcx> { fn error_min_const_fn_violation(tcx: TyCtxt<'_>, span: Span, msg: Cow<'_, str>) { struct_span_err!(tcx.sess, span, E0723, "{}", msg) - .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") .emit(); } @@ -593,9 +596,9 @@ fn check_short_circuiting_in_const_local(item: &Item<'_, 'tcx>) { *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 \ - information.", + the const evaluator presently not being able to do control flow. \ + See issue #49146 \ + for more information.", kind ), ); diff --git a/src/librustc_parse/lexer/mod.rs b/src/librustc_parse/lexer/mod.rs index af56e9d344d2e..e60f1138ddcae 100644 --- a/src/librustc_parse/lexer/mod.rs +++ b/src/librustc_parse/lexer/mod.rs @@ -248,8 +248,9 @@ impl<'a> StringReader<'a> { a future release!", ) .note( - "for more information, see issue #42326 \ - ", + "see issue #42326 \ + \ + for more information", ) .emit(); None diff --git a/src/librustc_parse/parser/diagnostics.rs b/src/librustc_parse/parser/diagnostics.rs index 7c015c7a1d75d..237b3cc13d394 100644 --- a/src/librustc_parse/parser/diagnostics.rs +++ b/src/librustc_parse/parser/diagnostics.rs @@ -366,8 +366,8 @@ impl<'a> Parser<'a> { type: `: `", ); err.note( - "for more information, see \ - https://github.com/rust-lang/rust/issues/23416", + "see issue #23416 \ + for more information", ); } } diff --git a/src/librustc_parse/parser/expr.rs b/src/librustc_parse/parser/expr.rs index d98321416957d..eacc95e0395a8 100644 --- a/src/librustc_parse/parser/expr.rs +++ b/src/librustc_parse/parser/expr.rs @@ -1295,7 +1295,10 @@ impl<'a> Parser<'a> { `proc_macro::Literal::*_unsuffixed` for code that will desugar \ to tuple field access", ); - err.note("for more context, see https://github.com/rust-lang/rust/issues/60210"); + err.note( + "see issue #60210 \ + for more information", + ); err } else { self.struct_span_err(sp, &format!("suffixes on {} are invalid", kind)) diff --git a/src/librustc_passes/check_attr.rs b/src/librustc_passes/check_attr.rs index 3ff1ba3bbfc8c..a877c1de175e1 100644 --- a/src/librustc_passes/check_attr.rs +++ b/src/librustc_passes/check_attr.rs @@ -120,8 +120,8 @@ impl CheckAttrVisitor<'tcx> { a future release!", ) .note( - "for more information, see issue #65833 \ - ", + "see issue #65833 \ + for more information", ) .emit(); true diff --git a/src/librustc_session/parse.rs b/src/librustc_session/parse.rs index 3264230026295..6a4871b6da059 100644 --- a/src/librustc_session/parse.rs +++ b/src/librustc_session/parse.rs @@ -86,8 +86,8 @@ pub fn feature_err_issue<'a>( if let Some(n) = find_feature_issue(feature, issue) { err.note(&format!( - "for more information, see https://github.com/rust-lang/rust/issues/{}", - n, + "see issue #{} for more information", + n, n, )); } diff --git a/src/librustc_session/session.rs b/src/librustc_session/session.rs index 648dd6ad32a6b..6f003043aa95c 100644 --- a/src/librustc_session/session.rs +++ b/src/librustc_session/session.rs @@ -1125,7 +1125,8 @@ fn validate_commandline_args_with_session_available(sess: &Session) { 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 more information.", ); } diff --git a/src/librustc_typeck/check/demand.rs b/src/librustc_typeck/check/demand.rs index 8c7f1330820e3..3c2e02fc79b3a 100644 --- a/src/librustc_typeck/check/demand.rs +++ b/src/librustc_typeck/check/demand.rs @@ -798,9 +798,10 @@ 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)", + integer type, including `Inf` and `NaN`, casting will cause \ + undefined behavior \ + (see issue #10184 \ + for more information)", ); } true diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs index 2a450f4b4e8b1..1a3016cd9d33b 100644 --- a/src/librustc_typeck/collect.rs +++ b/src/librustc_typeck/collect.rs @@ -2440,7 +2440,10 @@ fn associated_item_predicates( trait_item.span, &format!("{}-generic associated types are not yet implemented", arg_kind), ) - .note("for more information, see https://github.com/rust-lang/rust/issues/44265") + .note( + "for more information, see issue #44265 \ + for more information", + ) .emit(); had_error = true; } diff --git a/src/librustdoc/config.rs b/src/librustdoc/config.rs index 1b776930d7a78..33b3e800374e3 100644 --- a/src/librustdoc/config.rs +++ b/src/librustdoc/config.rs @@ -570,7 +570,10 @@ fn check_deprecated_options(matches: &getopts::Matches, diag: &rustc_errors::Han 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( + "see issue #44136 \ + for more information", + ); 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 429988db9d843..c3c07e2e02c76 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -416,7 +416,10 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt considered deprecated", name )); - msg.warn("please see https://github.com/rust-lang/rust/issues/44136"); + msg.warn( + "see issue #44136 \ + for more information", + ); if name == "no_default_passes" { msg.help("you may want to use `#![doc(document_private_items)]`"); diff --git a/src/test/rustdoc-ui/deprecated-attrs.stderr b/src/test/rustdoc-ui/deprecated-attrs.stderr index 5bd62d60b48f3..61228034a689d 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 for more information = 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 for more information diff --git a/src/test/ui-fulldeps/feature-gate-plugin.stderr b/src/test/ui-fulldeps/feature-gate-plugin.stderr index c922325c341ea..02c569073e9e7 100644 --- a/src/test/ui-fulldeps/feature-gate-plugin.stderr +++ b/src/test/ui-fulldeps/feature-gate-plugin.stderr @@ -4,7 +4,7 @@ error[E0658]: compiler plugins are deprecated LL | #![plugin(empty_plugin)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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 warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675 diff --git a/src/test/ui-fulldeps/gated-plugin.stderr b/src/test/ui-fulldeps/gated-plugin.stderr index c35863e6bc597..df2de40a8c1b1 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 deprecated LL | #![plugin(empty_plugin)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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 warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675 diff --git a/src/test/ui-fulldeps/hash-stable-is-unstable.stderr b/src/test/ui-fulldeps/hash-stable-is-unstable.stderr index 73b48013de665..bc5e2d8937858 100644 --- a/src/test/ui-fulldeps/hash-stable-is-unstable.stderr +++ b/src/test/ui-fulldeps/hash-stable-is-unstable.stderr @@ -4,7 +4,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? @@ -13,7 +13,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? @@ -22,7 +22,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? @@ -31,7 +31,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? @@ -40,7 +40,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 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/src/test/ui-fulldeps/pathless-extern-unstable.stderr b/src/test/ui-fulldeps/pathless-extern-unstable.stderr index edc3b1c58be22..09f1e600b25d5 100644 --- a/src/test/ui-fulldeps/pathless-extern-unstable.stderr +++ b/src/test/ui-fulldeps/pathless-extern-unstable.stderr @@ -4,7 +4,7 @@ error[E0658]: use of unstable library feature 'rustc_private': this crate is bei LL | pub use 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: aborting due to previous error diff --git a/src/test/ui/associated-type/associated-type-projection-from-multiple-supertraits.stderr b/src/test/ui/associated-type/associated-type-projection-from-multiple-supertraits.stderr index c60d5f8f2c8b8..8d0cd57fad442 100644 --- a/src/test/ui/associated-type/associated-type-projection-from-multiple-supertraits.stderr +++ b/src/test/ui/associated-type/associated-type-projection-from-multiple-supertraits.stderr @@ -4,7 +4,7 @@ error: equality constraints are not yet supported in `where` clauses LL | fn dent_object_2(c: dyn BoxCar) where ::Color = COLOR { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not supported | - = note: for more information, see https://github.com/rust-lang/rust/issues/20041 + = note: see issue #20041 for more information error[E0221]: ambiguous associated type `Color` in bounds of `C` --> $DIR/associated-type-projection-from-multiple-supertraits.rs:19:32 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/issue-64453.stderr b/src/test/ui/borrowck/issue-64453.stderr index edc496aa2f81b..48859fb676342 100644 --- a/src/test/ui/borrowck/issue-64453.stderr +++ b/src/test/ui/borrowck/issue-64453.stderr @@ -4,7 +4,7 @@ error[E0658]: `match` is not allowed in a `static` LL | static settings_dir: String = format!(""); | ^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 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/check-static-immutable-mut-slices.stderr b/src/test/ui/check-static-immutable-mut-slices.stderr index 39da824ede57c..66fe8646e1016 100644 --- a/src/test/ui/check-static-immutable-mut-slices.stderr +++ b/src/test/ui/check-static-immutable-mut-slices.stderr @@ -4,7 +4,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static TEST: &'static mut [isize] = &mut []; | ^^^^^^^ statics require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/closures/issue-52437.stderr b/src/test/ui/closures/issue-52437.stderr index 4d13a80e4ccdd..b9225e55fe5c7 100644 --- a/src/test/ui/closures/issue-52437.stderr +++ b/src/test/ui/closures/issue-52437.stderr @@ -10,7 +10,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | [(); &(&'static: loop { |x| {}; }) as *const _ as usize] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0282]: type annotations needed 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 7b77701ee190f..4997ca4db27cd 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]: the `#[no_core]` attribute is an experimental feature 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 ab7e1eb96032d..c8762d15d942a 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]: the `#[no_core]` attribute is an experimental feature 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 8126affbd36cd..e75b1c5b4c87c 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]: the `#[no_core]` attribute is an experimental feature 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/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 a2872ab982da4..14ade3f33fd9b 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 @@ -4,7 +4,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[E0741]: the types of const generic parameters must derive `PartialEq` and `Eq` diff --git a/src/test/ui/const-generics/issues/issue-60263.stderr b/src/test/ui/const-generics/issues/issue-60263.stderr index fe7b6fdb1904d..7b50c442d2f41 100644 --- a/src/test/ui/const-generics/issues/issue-60263.stderr +++ b/src/test/ui/const-generics/issues/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-address-of-mut.stderr b/src/test/ui/consts/const-address-of-mut.stderr index 15f2296c42c25..1d9a325b0c2a0 100644 --- a/src/test/ui/consts/const-address-of-mut.stderr +++ b/src/test/ui/consts/const-address-of-mut.stderr @@ -4,7 +4,7 @@ error[E0658]: `&raw mut` is not allowed in constants LL | const A: () = { let mut x = 2; &raw mut x; }; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0658]: `&raw mut` is not allowed in statics @@ -13,7 +13,7 @@ error[E0658]: `&raw mut` is not allowed in statics LL | static B: () = { let mut x = 2; &raw mut x; }; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0658]: `&raw mut` is not allowed in statics @@ -22,7 +22,7 @@ error[E0658]: `&raw mut` is not allowed in statics LL | static mut C: () = { let mut x = 2; &raw mut x; }; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0658]: `&raw mut` is not allowed in constant functions @@ -31,7 +31,7 @@ error[E0658]: `&raw mut` is not allowed in constant functions LL | let y = &raw mut x; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error: aborting due to 4 previous errors 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 6899b7b82c532..4c8492b22f625 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 82edcefb86e7f..56746c04f5cd7 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z 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 (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/src/test/ui/consts/const-eval/infinite_loop.stderr b/src/test/ui/consts/const-eval/infinite_loop.stderr index ed3c66db2cd39..e04c31cf39782 100644 --- a/src/test/ui/consts/const-eval/infinite_loop.stderr +++ b/src/test/ui/consts/const-eval/infinite_loop.stderr @@ -9,7 +9,7 @@ LL | | LL | | } | |_________^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable @@ -19,7 +19,7 @@ error[E0658]: `if` is not allowed in a `const` LL | n = if n % 2 == 0 { n/2 } else { 3*n + 1 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable warning: Constant evaluating a complex constant, this might take some time diff --git a/src/test/ui/consts/const-eval/issue-52442.stderr b/src/test/ui/consts/const-eval/issue-52442.stderr index c8ac4b1a7629d..eda2dbf0b6b15 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]: `loop` is not allowed in a `const` LL | [(); { &loop { break } as *const _ as usize } ]; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` 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 | [(); { &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/issue-52475.stderr b/src/test/ui/consts/const-eval/issue-52475.stderr index 7c0c735f9a49a..31d87925b2cfc 100644 --- a/src/test/ui/consts/const-eval/issue-52475.stderr +++ b/src/test/ui/consts/const-eval/issue-52475.stderr @@ -8,7 +8,7 @@ LL | | x = &0; // Materialize a new AllocId LL | | } | |_________^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable diff --git a/src/test/ui/consts/const-eval/issue-62272.stderr b/src/test/ui/consts/const-eval/issue-62272.stderr index a02bbe557cf97..380f68bee09ce 100644 --- a/src/test/ui/consts/const-eval/issue-62272.stderr +++ b/src/test/ui/consts/const-eval/issue-62272.stderr @@ -4,7 +4,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | const FOO: () = loop { break; }; | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const` @@ -13,7 +13,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | [FOO; { let x; loop { x = 5; break; } x }]; | ^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/consts/const-eval/issue-65394.stderr b/src/test/ui/consts/const-eval/issue-65394.stderr index 54b35073340fd..d85a1a1a3c32b 100644 --- a/src/test/ui/consts/const-eval/issue-65394.stderr +++ b/src/test/ui/consts/const-eval/issue-65394.stderr @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values LL | let r = &mut x; | ^^^^^^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0493]: destructors cannot be evaluated at compile-time 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 d1ad2261dc259..b47f6d5f845fe 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 @@ -10,7 +10,7 @@ LL | | n => n, LL | | } | |_________^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: casting pointers to integers in constants is unstable @@ -19,7 +19,7 @@ error[E0658]: casting pointers to integers in constants is unstable 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[E0080]: evaluation of constant value failed diff --git a/src/test/ui/consts/const-extern-fn/const-extern-fn-call-extern-fn.stderr b/src/test/ui/consts/const-extern-fn/const-extern-fn-call-extern-fn.stderr index eed279ecf7503..7f6af051e1748 100644 --- a/src/test/ui/consts/const-extern-fn/const-extern-fn-call-extern-fn.stderr +++ b/src/test/ui/consts/const-extern-fn/const-extern-fn-call-extern-fn.stderr @@ -4,7 +4,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const reg LL | regular_in_block(); | ^^^^^^^^^^^^^^^^^^ | - = 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 regular` is not stable as `const fn` @@ -13,7 +13,7 @@ error[E0723]: can only call other `const fn` within a `const fn`, but `const reg LL | regular(); | ^^^^^^^^^ | - = 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/const-extern-fn/const-extern-fn-min-const-fn.stderr b/src/test/ui/consts/const-extern-fn/const-extern-fn-min-const-fn.stderr index 0ab1ddd8d5225..f520bd358472c 100644 --- a/src/test/ui/consts/const-extern-fn/const-extern-fn-min-const-fn.stderr +++ b/src/test/ui/consts/const-extern-fn/const-extern-fn-min-const-fn.stderr @@ -4,7 +4,7 @@ error[E0723]: unsizing casts are not allowed in const fn LL | const extern 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 unsafe extern "C" 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]: 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 extern fn use_float() { 1.0 + 1.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]: casting pointers to ints is unstable in const fn @@ -31,7 +31,7 @@ error[E0723]: casting pointers to ints is unstable in const fn LL | const extern "C" fn ptr_cast(val: *const u8) { val 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: aborting due to 4 previous errors diff --git a/src/test/ui/consts/const-extern-fn/feature-gate-const_extern_fn.stderr b/src/test/ui/consts/const-extern-fn/feature-gate-const_extern_fn.stderr index f138620ffefba..ed5e0c84a16ae 100644 --- a/src/test/ui/consts/const-extern-fn/feature-gate-const_extern_fn.stderr +++ b/src/test/ui/consts/const-extern-fn/feature-gate-const_extern_fn.stderr @@ -4,7 +4,7 @@ error[E0658]: `const extern fn` definitions are unstable LL | #[cfg(FALSE)] const extern fn foo1() {} | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64926 + = note: see issue #64926 for more information = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable error[E0658]: `const extern fn` definitions are unstable @@ -13,7 +13,7 @@ error[E0658]: `const extern fn` definitions are unstable LL | #[cfg(FALSE)] const extern "C" fn foo2() {} | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64926 + = note: see issue #64926 for more information = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable error[E0658]: `const extern fn` definitions are unstable @@ -22,7 +22,7 @@ error[E0658]: `const extern fn` definitions are unstable LL | #[cfg(FALSE)] const extern "Rust" fn foo3() {} | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64926 + = note: see issue #64926 for more information = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable error[E0658]: `const extern fn` definitions are unstable @@ -31,7 +31,7 @@ error[E0658]: `const extern fn` definitions are unstable LL | #[cfg(FALSE)] const unsafe extern fn bar1() {} | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64926 + = note: see issue #64926 for more information = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable error[E0658]: `const extern fn` definitions are unstable @@ -40,7 +40,7 @@ error[E0658]: `const extern fn` definitions are unstable LL | #[cfg(FALSE)] const unsafe extern "C" fn bar2() {} | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64926 + = note: see issue #64926 for more information = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable error[E0658]: `const extern fn` definitions are unstable @@ -49,7 +49,7 @@ error[E0658]: `const extern fn` definitions are unstable LL | #[cfg(FALSE)] const unsafe extern "Rust" fn bar3() {} | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64926 + = note: see issue #64926 for more information = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable error: aborting due to 6 previous errors diff --git a/src/test/ui/consts/const-extern-fn/issue-68062-const-extern-fns-dont-need-fn-specifier.stderr b/src/test/ui/consts/const-extern-fn/issue-68062-const-extern-fns-dont-need-fn-specifier.stderr index cf71ed4d59765..d36b781d292d2 100644 --- a/src/test/ui/consts/const-extern-fn/issue-68062-const-extern-fns-dont-need-fn-specifier.stderr +++ b/src/test/ui/consts/const-extern-fn/issue-68062-const-extern-fns-dont-need-fn-specifier.stderr @@ -10,7 +10,7 @@ error[E0658]: `const extern fn` definitions are unstable LL | const extern "Rust" PUT_ANYTHING_YOU_WANT_HERE bug() -> usize { 1 } | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64926 + = note: see issue #64926 for more information = help: add `#![feature(const_extern_fn)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/consts/const-labeled-break.stderr b/src/test/ui/consts/const-labeled-break.stderr index 1282008fb637a..ac845df227c42 100644 --- a/src/test/ui/consts/const-labeled-break.stderr +++ b/src/test/ui/consts/const-labeled-break.stderr @@ -4,7 +4,7 @@ error[E0658]: `while` is not allowed in a `const` LL | const CRASH: () = 'a: while break 'a {}; | ^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable diff --git a/src/test/ui/consts/const-match-pattern-arm.stderr b/src/test/ui/consts/const-match-pattern-arm.stderr index 4e7713f1422eb..412e1609ccfab 100644 --- a/src/test/ui/consts/const-match-pattern-arm.stderr +++ b/src/test/ui/consts/const-match-pattern-arm.stderr @@ -8,7 +8,7 @@ LL | | _ => false LL | | }; | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -20,7 +20,7 @@ LL | | _ => false LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error: aborting due to 2 previous errors diff --git a/src/test/ui/consts/const-multi-ref.stderr b/src/test/ui/consts/const-multi-ref.stderr index 0809c77c1b604..e01dd4e574738 100644 --- a/src/test/ui/consts/const-multi-ref.stderr +++ b/src/test/ui/consts/const-multi-ref.stderr @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values LL | let p = &mut a; | ^^^^^^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead diff --git a/src/test/ui/consts/const-mut-refs/feature-gate-const_mut_refs.stderr b/src/test/ui/consts/const-mut-refs/feature-gate-const_mut_refs.stderr index 4fae119f02604..83e050c7a5c8a 100644 --- a/src/test/ui/consts/const-mut-refs/feature-gate-const_mut_refs.stderr +++ b/src/test/ui/consts/const-mut-refs/feature-gate-const_mut_refs.stderr @@ -4,7 +4,7 @@ error[E0723]: mutable references in const fn are unstable LL | const fn foo(x: &mut i32) -> i32 { | ^ | - = 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/const_let_assign3.stderr b/src/test/ui/consts/const_let_assign3.stderr index 7852874944b22..5e2a85cc03d9f 100644 --- a/src/test/ui/consts/const_let_assign3.stderr +++ b/src/test/ui/consts/const_let_assign3.stderr @@ -10,7 +10,7 @@ error[E0658]: references in constants may only refer to immutable values LL | s.foo(3); | ^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0658]: references in constants may only refer to immutable values @@ -19,7 +19,7 @@ error[E0658]: references in constants may only refer to immutable values LL | let y = &mut x; | ^^^^^^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0019]: constant contains unimplemented expression type diff --git a/src/test/ui/consts/const_let_refutable.stderr b/src/test/ui/consts/const_let_refutable.stderr index 719e14005ffa4..0ba79e5f71a2e 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]: loops and conditional expressions are not stable in const fn LL | const fn slice(&[a, b]: &[i32]) -> i32 { | ^^^^^^ | - = 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/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/control-flow/assert.if_match.stderr b/src/test/ui/consts/control-flow/assert.if_match.stderr index 476cf89edf059..466fb7c3ec5b1 100644 --- a/src/test/ui/consts/control-flow/assert.if_match.stderr +++ b/src/test/ui/consts/control-flow/assert.if_match.stderr @@ -4,7 +4,7 @@ error[E0658]: panicking in constants is unstable LL | const _: () = assert!(true); | ^^^^^^^^^^^^^ | - = 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 (in Nightly builds, run with -Z macro-backtrace for more info) @@ -14,7 +14,7 @@ error[E0658]: panicking in constants is unstable LL | const _: () = assert!(false); | ^^^^^^^^^^^^^^ | - = 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 (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/src/test/ui/consts/control-flow/assert.panic.stderr b/src/test/ui/consts/control-flow/assert.panic.stderr index 043efa038aaa4..eafbdd84cc86c 100644 --- a/src/test/ui/consts/control-flow/assert.panic.stderr +++ b/src/test/ui/consts/control-flow/assert.panic.stderr @@ -4,7 +4,7 @@ error[E0658]: `if` is not allowed in a `const` LL | const _: () = assert!(true); | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) @@ -14,7 +14,7 @@ error[E0658]: `if` is not allowed in a `const` LL | const _: () = assert!(false); | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/src/test/ui/consts/control-flow/assert.stock.stderr b/src/test/ui/consts/control-flow/assert.stock.stderr index 043efa038aaa4..eafbdd84cc86c 100644 --- a/src/test/ui/consts/control-flow/assert.stock.stderr +++ b/src/test/ui/consts/control-flow/assert.stock.stderr @@ -4,7 +4,7 @@ error[E0658]: `if` is not allowed in a `const` LL | const _: () = assert!(true); | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) @@ -14,7 +14,7 @@ error[E0658]: `if` is not allowed in a `const` LL | const _: () = assert!(false); | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/src/test/ui/consts/control-flow/feature-gate-const-if-match.stock.stderr b/src/test/ui/consts/control-flow/feature-gate-const-if-match.stock.stderr index d3c6a51923ffb..ca087b8588689 100644 --- a/src/test/ui/consts/control-flow/feature-gate-const-if-match.stock.stderr +++ b/src/test/ui/consts/control-flow/feature-gate-const-if-match.stock.stderr @@ -9,7 +9,7 @@ LL | | 6 LL | | }; | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -23,7 +23,7 @@ LL | | 1 LL | | }; | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -37,7 +37,7 @@ LL | | _ => 0, LL | | }; | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `static` @@ -46,7 +46,7 @@ error[E0658]: `if` is not allowed in a `static` LL | let x = if true { 0 } else { 1 }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `static` @@ -55,7 +55,7 @@ error[E0658]: `match` is not allowed in a `static` LL | let x = match x { 0 => 1, _ => 0 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `static` @@ -64,7 +64,7 @@ error[E0658]: `if` is not allowed in a `static` LL | if let Some(x) = Some(x) { x } else { 1 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `static mut` @@ -73,7 +73,7 @@ error[E0658]: `if` is not allowed in a `static mut` LL | let x = if true { 0 } else { 1 }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `static mut` @@ -82,7 +82,7 @@ error[E0658]: `match` is not allowed in a `static mut` LL | let x = match x { 0 => 1, _ => 0 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `static mut` @@ -91,7 +91,7 @@ error[E0658]: `if` is not allowed in a `static mut` LL | if let Some(x) = Some(x) { x } else { 1 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const fn` @@ -100,7 +100,7 @@ error[E0658]: `if` is not allowed in a `const fn` LL | if true { 5 } else { 6 } | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const fn` @@ -113,7 +113,7 @@ LL | | 1 LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const fn` @@ -126,7 +126,7 @@ LL | | _ => 0 LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const fn` @@ -135,7 +135,7 @@ error[E0658]: `if` is not allowed in a `const fn` LL | let x = if y { 0 } else { 1 }; | ^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const fn` @@ -144,7 +144,7 @@ error[E0658]: `match` is not allowed in a `const fn` LL | let x = match x { 0 => 1, _ => 0 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const fn` @@ -153,7 +153,7 @@ error[E0658]: `if` is not allowed in a `const fn` LL | if let Some(x) = Some(x) { x } else { 1 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -162,7 +162,7 @@ error[E0658]: `if` is not allowed in a `const` LL | let x = if false { 0 } else { 1 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -171,7 +171,7 @@ error[E0658]: `match` is not allowed in a `const` LL | let x = match x { 0 => 1, _ => 0 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -180,7 +180,7 @@ error[E0658]: `if` is not allowed in a `const` LL | if let Some(x) = Some(x) { x } else { 1 } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -189,7 +189,7 @@ error[E0658]: `if` is not allowed in a `const` LL | const IF: i32 = if true { 5 } else { 6 }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -198,7 +198,7 @@ error[E0658]: `if` is not allowed in a `const` LL | const IF_LET: i32 = if let Some(true) = None { 5 } else { 6 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -207,7 +207,7 @@ error[E0658]: `match` is not allowed in a `const` LL | const MATCH: i32 = match 0 { 1 => 2, _ => 0 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -216,7 +216,7 @@ error[E0658]: `if` is not allowed in a `const` LL | const IF: i32 = if true { 5 } else { 6 }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -225,7 +225,7 @@ error[E0658]: `if` is not allowed in a `const` LL | const IF_LET: i32 = if let Some(true) = None { 5 } else { 6 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -234,7 +234,7 @@ error[E0658]: `match` is not allowed in a `const` LL | const MATCH: i32 = match 0 { 1 => 2, _ => 0 }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0019]: constant contains unimplemented expression type diff --git a/src/test/ui/consts/control-flow/issue-46843.stock.stderr b/src/test/ui/consts/control-flow/issue-46843.stock.stderr index b6f38f8ed95e1..e4650da2075bd 100644 --- a/src/test/ui/consts/control-flow/issue-46843.stock.stderr +++ b/src/test/ui/consts/control-flow/issue-46843.stock.stderr @@ -10,7 +10,7 @@ LL | | Thing::That => 0 LL | | }; | |_^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/consts/control-flow/issue-50577.stock.stderr b/src/test/ui/consts/control-flow/issue-50577.stock.stderr index 523bd23258f1e..9d0d2831d9af3 100644 --- a/src/test/ui/consts/control-flow/issue-50577.stock.stderr +++ b/src/test/ui/consts/control-flow/issue-50577.stock.stderr @@ -4,7 +4,7 @@ error[E0658]: `match` is not allowed in a `const` LL | Drop = assert_eq!(1, 1) | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) @@ -14,7 +14,7 @@ error[E0658]: `if` is not allowed in a `const` LL | Drop = assert_eq!(1, 1) | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) @@ -24,7 +24,7 @@ error[E0658]: `match` is not allowed in a `const` LL | Drop = assert_eq!(1, 1) | ^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/src/test/ui/consts/control-flow/loop.if_match.stderr b/src/test/ui/consts/control-flow/loop.if_match.stderr index e01081638ec22..e8ff3624b7720 100644 --- a/src/test/ui/consts/control-flow/loop.if_match.stderr +++ b/src/test/ui/consts/control-flow/loop.if_match.stderr @@ -4,7 +4,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | const _: () = loop {}; | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `static` @@ -13,7 +13,7 @@ error[E0658]: `loop` is not allowed in a `static` LL | static FOO: i32 = loop { break 4; }; | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const fn` @@ -22,7 +22,7 @@ error[E0658]: `loop` is not allowed in a `const fn` LL | loop {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const fn` @@ -31,7 +31,7 @@ error[E0658]: `loop` is not allowed in a `const fn` LL | loop {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `while` is not allowed in a `const` @@ -40,7 +40,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while false {} | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `while` is not allowed in a `const` @@ -51,7 +51,7 @@ LL | | x += 1; LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `while` is not allowed in a `const` @@ -62,7 +62,7 @@ LL | | x += 1; LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0744]: `for` is not allowed in a `const` @@ -92,7 +92,7 @@ LL | | } LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const` @@ -106,7 +106,7 @@ LL | | } LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `while` is not allowed in a `const` @@ -115,7 +115,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while let None = Some(x) { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `while` is not allowed in a `const` @@ -124,7 +124,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while let None = Some(x) { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const` @@ -133,7 +133,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | const BAR: i32 = loop { break 4; }; | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const` @@ -142,7 +142,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | const BAR: i32 = loop { break 4; }; | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error: aborting due to 15 previous errors diff --git a/src/test/ui/consts/control-flow/loop.loop_.stderr b/src/test/ui/consts/control-flow/loop.loop_.stderr index cf871c9a78c41..3d739f4d2b41b 100644 --- a/src/test/ui/consts/control-flow/loop.loop_.stderr +++ b/src/test/ui/consts/control-flow/loop.loop_.stderr @@ -4,7 +4,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while false {} | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: `#![feature(const_loop)]` alone is not sufficient, since this loop expression contains an implicit conditional @@ -16,7 +16,7 @@ LL | | x += 1; LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: `#![feature(const_loop)]` alone is not sufficient, since this loop expression contains an implicit conditional @@ -28,7 +28,7 @@ LL | | x += 1; LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: `#![feature(const_loop)]` alone is not sufficient, since this loop expression contains an implicit conditional @@ -56,7 +56,7 @@ LL | | break; LL | | } | |_________^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -67,7 +67,7 @@ LL | | break; LL | | } | |_________^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `while` is not allowed in a `const` @@ -76,7 +76,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while let None = Some(x) { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: `#![feature(const_loop)]` alone is not sufficient, since this loop expression contains an implicit conditional @@ -86,7 +86,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while let None = Some(x) { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable = note: `#![feature(const_loop)]` alone is not sufficient, since this loop expression contains an implicit conditional diff --git a/src/test/ui/consts/control-flow/loop.stock.stderr b/src/test/ui/consts/control-flow/loop.stock.stderr index e3687cf12acc7..987ced9655186 100644 --- a/src/test/ui/consts/control-flow/loop.stock.stderr +++ b/src/test/ui/consts/control-flow/loop.stock.stderr @@ -4,7 +4,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | const _: () = loop {}; | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `static` @@ -13,7 +13,7 @@ error[E0658]: `loop` is not allowed in a `static` LL | static FOO: i32 = loop { break 4; }; | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const fn` @@ -22,7 +22,7 @@ error[E0658]: `loop` is not allowed in a `const fn` LL | loop {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const fn` @@ -31,7 +31,7 @@ error[E0658]: `loop` is not allowed in a `const fn` LL | loop {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `while` is not allowed in a `const` @@ -40,7 +40,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while false {} | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable @@ -52,7 +52,7 @@ LL | | x += 1; LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable @@ -64,7 +64,7 @@ LL | | x += 1; LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable @@ -95,7 +95,7 @@ LL | | } LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -106,7 +106,7 @@ LL | | break; LL | | } | |_________^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const` @@ -120,7 +120,7 @@ LL | | } LL | | } | |_____^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `if` is not allowed in a `const` @@ -131,7 +131,7 @@ LL | | break; LL | | } | |_________^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `while` is not allowed in a `const` @@ -140,7 +140,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while let None = Some(x) { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable @@ -150,7 +150,7 @@ error[E0658]: `while` is not allowed in a `const` LL | while let None = Some(x) { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable @@ -160,7 +160,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | const BAR: i32 = loop { break 4; }; | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error[E0658]: `loop` is not allowed in a `const` @@ -169,7 +169,7 @@ error[E0658]: `loop` is not allowed in a `const` LL | const BAR: i32 = loop { break 4; }; | ^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable error: aborting due to 17 previous errors diff --git a/src/test/ui/consts/min_const_fn/address_of.stderr b/src/test/ui/consts/min_const_fn/address_of.stderr index 3554b8112b168..4d9d1d79284a8 100644 --- a/src/test/ui/consts/min_const_fn/address_of.stderr +++ b/src/test/ui/consts/min_const_fn/address_of.stderr @@ -4,7 +4,7 @@ error[E0658]: `&raw mut` is not allowed in constant functions LL | let b = &raw mut a; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0658]: `&raw mut` is not allowed in constant functions @@ -13,7 +13,7 @@ error[E0658]: `&raw mut` is not allowed in constant functions LL | let b = &raw mut a; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error: aborting due to 2 previous errors 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 0ede4229ade30..9a14bcc2f7335 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 2c68ddd8c9a4d..39b223062e986 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 (in Nightly builds, run with -Z 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 58d1d4211334c..f48b7396e77c6 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[E0658]: `loop` is not allowed in a `const fn` LL | loop {} | ^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` 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.stderr b/src/test/ui/consts/min_const_fn/min_const_fn.stderr index cb1663ed22f95..927cdfae189d7 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 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 @@ -175,7 +175,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 @@ -184,7 +184,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 @@ -193,7 +193,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 @@ -202,7 +202,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 @@ -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]: `impl Trait` in const fn is unstable @@ -220,7 +220,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 @@ -229,7 +229,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 @@ -238,7 +238,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 @@ -247,7 +247,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 @@ -256,7 +256,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 @@ -265,7 +265,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[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 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 @@ -283,7 +283,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 @@ -292,7 +292,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 34 previous errors 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 e20b4f9dcb471..17e171c2fc953 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 error: aborting due to 2 previous errors 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 1da9b41aa5955..b82ae40d6876e 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_bad.stderr b/src/test/ui/consts/min_const_fn/min_const_fn_unsafe_bad.stderr index 2a4c627438d61..97b0a778d2c72 100644 --- a/src/test/ui/consts/min_const_fn/min_const_fn_unsafe_bad.stderr +++ b/src/test/ui/consts/min_const_fn/min_const_fn_unsafe_bad.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[E0723]: accessing union fields is unstable @@ -31,7 +31,7 @@ error[E0723]: accessing union fields is unstable LL | Foo { x: () }.y | ^^^^^^^^^^^^^^^ | - = 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]: 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 ae92602d45f49..00975a80b2263 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 a0db74cfad65f..5014eed06fac5 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.mut_refs.stderr b/src/test/ui/consts/projection_qualif.mut_refs.stderr index 23538777c9df3..0945a23f3b123 100644 --- a/src/test/ui/consts/projection_qualif.mut_refs.stderr +++ b/src/test/ui/consts/projection_qualif.mut_refs.stderr @@ -4,7 +4,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 previous error diff --git a/src/test/ui/consts/projection_qualif.stock.stderr b/src/test/ui/consts/projection_qualif.stock.stderr index 472d2607453d0..75625a4bd1bc3 100644 --- a/src/test/ui/consts/projection_qualif.stock.stderr +++ b/src/test/ui/consts/projection_qualif.stock.stderr @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values LL | let b: *mut u32 = &mut a; | ^^^^^^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0658]: dereferencing raw pointers in constants is unstable @@ -13,7 +13,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[E0019]: constant contains unimplemented expression type diff --git a/src/test/ui/consts/static_mut_containing_mut_ref2.stock.stderr b/src/test/ui/consts/static_mut_containing_mut_ref2.stock.stderr index 430cef94dc3cb..c70431886e868 100644 --- a/src/test/ui/consts/static_mut_containing_mut_ref2.stock.stderr +++ b/src/test/ui/consts/static_mut_containing_mut_ref2.stock.stderr @@ -4,7 +4,7 @@ error[E0658]: references in statics may only refer to immutable values LL | pub static mut STDERR_BUFFER: () = unsafe { *(&mut STDERR_BUFFER_SPACE) = 42; }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ statics require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0019]: static contains unimplemented expression type 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/E0017.stderr b/src/test/ui/error-codes/E0017.stderr index 9a87195a9d05e..2e687c18ed3ff 100644 --- a/src/test/ui/error-codes/E0017.stderr +++ b/src/test/ui/error-codes/E0017.stderr @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values LL | const CR: &'static mut i32 = &mut C; | ^^^^^^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0019]: static contains unimplemented expression type @@ -19,7 +19,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static STATIC_REF: &'static mut i32 = &mut X; | ^^^^^^ statics require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0596]: cannot borrow immutable static item `X` as mutable @@ -34,7 +34,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static CONST_REF: &'static mut i32 = &mut C; | ^^^^^^ statics require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0658]: references in statics may only refer to immutable values @@ -43,7 +43,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static STATIC_MUT_REF: &'static mut i32 = unsafe { &mut M }; | ^^^^^^ statics require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error: aborting due to 6 previous errors diff --git a/src/test/ui/error-codes/E0388.stderr b/src/test/ui/error-codes/E0388.stderr index 986307d3f123f..52822ebdd9e67 100644 --- a/src/test/ui/error-codes/E0388.stderr +++ b/src/test/ui/error-codes/E0388.stderr @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values LL | const CR: &'static mut i32 = &mut C; | ^^^^^^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0019]: static contains unimplemented expression type @@ -19,7 +19,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static STATIC_REF: &'static mut i32 = &mut X; | ^^^^^^ statics require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0596]: cannot borrow immutable static item `X` as mutable @@ -34,7 +34,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static CONST_REF: &'static mut i32 = &mut C; | ^^^^^^ statics require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error: aborting due to 5 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 1cb81c8d778ec..4563b0e21940b 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/56071 + = note: see issue #56071 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 3e3ad71c344ee..50ce6427e8b58 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]: the `#[optimize]` attribute is an experimental 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]: the `#[optimize]` attribute is an experimental feature @@ -13,7 +13,7 @@ error[E0658]: the `#[optimize]` attribute is an experimental 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]: the `#[optimize]` attribute is an experimental feature @@ -22,7 +22,7 @@ error[E0658]: the `#[optimize]` attribute is an experimental 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]: the `#[optimize]` attribute is an experimental feature @@ -31,7 +31,7 @@ error[E0658]: the `#[optimize]` attribute is an experimental 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]: the `#[optimize]` attribute is an experimental feature @@ -40,7 +40,7 @@ error[E0658]: the `#[optimize]` attribute is an experimental 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-static-nobundle-2.stderr b/src/test/ui/feature-gate/feature-gate-static-nobundle-2.stderr index cfff4c36a6d7b..d96a48cde9f99 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 unstable | - = 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/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 d58a2d91b2b7f..493b57f4303cb 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 6db6cb49cef14..50cd8bc68a2a2 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]: efiapi ABI is experimental and subject to change @@ -82,7 +82,7 @@ error[E0658]: efiapi ABI is experimental and subject to change LL | extern "efiapi" fn f10() {} | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/65815 + = note: see issue #65815 for more information = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -99,7 +99,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 @@ -116,7 +116,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 @@ -125,7 +125,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 @@ -134,7 +134,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 @@ -143,7 +143,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 @@ -160,7 +160,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]: efiapi ABI is experimental and subject to change @@ -169,7 +169,7 @@ error[E0658]: efiapi ABI is experimental and subject to change LL | extern "efiapi" fn m10(); | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/65815 + = note: see issue #65815 for more information = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable error[E0658]: vectorcall is experimental and subject to change @@ -186,7 +186,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 @@ -195,7 +195,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 @@ -204,7 +204,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 @@ -213,7 +213,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 @@ -230,7 +230,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]: efiapi ABI is experimental and subject to change @@ -239,7 +239,7 @@ error[E0658]: efiapi ABI is experimental and subject to change LL | extern "efiapi" fn dm10() {} | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/65815 + = note: see issue #65815 for more information = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -256,7 +256,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 @@ -273,7 +273,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 @@ -282,7 +282,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 @@ -291,7 +291,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 @@ -300,7 +300,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 @@ -317,7 +317,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]: efiapi ABI is experimental and subject to change @@ -326,7 +326,7 @@ error[E0658]: efiapi ABI is experimental and subject to change LL | extern "efiapi" fn m10() {} | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/65815 + = note: see issue #65815 for more information = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -343,7 +343,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 @@ -360,7 +360,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 @@ -369,7 +369,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 @@ -378,7 +378,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 @@ -387,7 +387,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 @@ -404,7 +404,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]: efiapi ABI is experimental and subject to change @@ -413,7 +413,7 @@ error[E0658]: efiapi ABI is experimental and subject to change LL | extern "efiapi" fn im10() {} | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/65815 + = note: see issue #65815 for more information = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -430,7 +430,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 @@ -447,7 +447,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 @@ -456,7 +456,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 @@ -465,7 +465,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 @@ -474,7 +474,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 @@ -491,7 +491,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]: efiapi ABI is experimental and subject to change @@ -500,7 +500,7 @@ error[E0658]: efiapi ABI is experimental and subject to change LL | type A10 = extern "efiapi" fn(); | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/65815 + = note: see issue #65815 for more information = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable error[E0658]: intrinsics are subject to change @@ -517,7 +517,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 @@ -534,7 +534,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 @@ -543,7 +543,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 @@ -552,7 +552,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 @@ -561,7 +561,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 @@ -578,7 +578,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[E0658]: efiapi ABI is experimental and subject to change @@ -587,7 +587,7 @@ error[E0658]: efiapi ABI is experimental and subject to change LL | extern "efiapi" {} | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/65815 + = note: see issue #65815 for more information = help: add `#![feature(abi_efiapi)]` to the crate attributes to enable error: intrinsic must be in `extern "rust-intrinsic" { ... }` block 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 79e44bf0d8ec1..03f31e53f4f2a 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]: the `#[alloc_error_handler]` attribute is an experimental 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 0f60a2de3a4e5..76115fb969833 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]: the `#[allow_fail]` attribute is an experimental feature 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-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-cfg_sanitize.stderr b/src/test/ui/feature-gates/feature-gate-cfg_sanitize.stderr index f67a0d83bdd3a..8088585da8dd6 100644 --- a/src/test/ui/feature-gates/feature-gate-cfg_sanitize.stderr +++ b/src/test/ui/feature-gates/feature-gate-cfg_sanitize.stderr @@ -4,7 +4,7 @@ error[E0658]: `cfg(sanitize)` is experimental and subject to change LL | #[cfg(not(sanitize = "thread"))] | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/39699 + = note: see issue #39699 for more information = help: add `#![feature(cfg_sanitize)]` 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 1c319c6dad4c0..32c37806a87b5 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-ptr.stderr b/src/test/ui/feature-gates/feature-gate-const_generics-ptr.stderr index 935f84b9163d3..dc7ef55e7ab99 100644 --- a/src/test/ui/feature-gates/feature-gate-const_generics-ptr.stderr +++ b/src/test/ui/feature-gates/feature-gate-const_generics-ptr.stderr @@ -4,7 +4,7 @@ error[E0658]: const generics are unstable LL | struct ConstFn; | ^ | - = 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 ConstPtr; | ^ | - = 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]: using function pointers as const generic parameters is unstable @@ -22,7 +22,7 @@ error[E0658]: using function pointers as const generic parameters is unstable LL | struct ConstFn; | ^^^^ | - = 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[E0658]: using raw pointers as const generic parameters is unstable @@ -31,7 +31,7 @@ error[E0658]: using raw pointers as const generic parameters is unstable LL | struct ConstPtr; | ^^^^^^^^^^ | - = 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 4 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_in_array_repeat_expressions.stderr b/src/test/ui/feature-gates/feature-gate-const_in_array_repeat_expressions.stderr index 08d9ada884a53..632afb24aa55d 100644 --- a/src/test/ui/feature-gates/feature-gate-const_in_array_repeat_expressions.stderr +++ b/src/test/ui/feature-gates/feature-gate-const_in_array_repeat_expressions.stderr @@ -7,7 +7,7 @@ LL | let arr: [Option; 2] = [None::; 2]; = help: the following implementations were found: as std::marker::Copy> = note: the `Copy` trait is required because the repeated element will be copied - = note: this array initializer can be evaluated at compile-time, for more information, see issue https://github.com/rust-lang/rust/issues/49147 + = note: this array initializer can be evaluated at compile-time, see issue #48147 for more information = help: add `#![feature(const_in_array_repeat_expressions)]` to the crate attributes to enable error[E0277]: the trait bound `std::option::Option: std::marker::Copy` is not satisfied 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_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-doc_alias.stderr b/src/test/ui/feature-gates/feature-gate-doc_alias.stderr index 540b1f5ccbe43..f66d1602ba253 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.stderr b/src/test/ui/feature-gates/feature-gate-doc_cfg.stderr index eaa908d0037ae..fe88e08c12346 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 15a41d9ffa4ea..c5dc7d537fd88 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 05340184033e9..bd2aefe90c183 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[E0658]: `#[doc(include)]` is experimental @@ -13,7 +13,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 2 previous errors 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 4adc21efc6a21..dfea178a6372c 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[E0658]: yield syntax is experimental @@ -13,7 +13,7 @@ error[E0658]: yield syntax is experimental LL | yield; | ^^^^^ | - = 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[E0658]: yield syntax is experimental @@ -22,7 +22,7 @@ error[E0658]: yield syntax is experimental LL | yield 0; | ^^^^^^^ | - = 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 expression 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 ab17c9a28ae9b..a0e06cb2b6795 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: type-generic associated types are not yet implemented @@ -67,7 +67,7 @@ error: type-generic associated types are not yet implemented LL | type Pointer: Deref; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: type-generic associated types are not yet implemented --> $DIR/feature-gate-generic_associated_types.rs:7:5 @@ -75,7 +75,7 @@ error: type-generic associated types are not yet implemented LL | type Pointer2: Deref where T: Clone, U: Clone; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: aborting due to 9 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 f6c5061546438..10b151ffa7565 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 unstable 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 08ba9d0d3a313..a7d5ea6b93758 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[E0658]: lint reasons are experimental @@ -13,7 +13,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[E0658]: lint reasons are experimental @@ -22,7 +22,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 3 previous errors 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-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 304c081c5aace..e3c3756fd21c9 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]: the `#[marker]` attribute 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 216615731e56f..0a59cae9c8c46 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.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 a80b3cbba25b1..8430a9ec6a757 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]: the `#[no_core]` attribute is an experimental feature 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-no_sanitize.stderr b/src/test/ui/feature-gates/feature-gate-no_sanitize.stderr index 7359cf03652bc..3993357006f4b 100644 --- a/src/test/ui/feature-gates/feature-gate-no_sanitize.stderr +++ b/src/test/ui/feature-gates/feature-gate-no_sanitize.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[no_sanitize]` attribute is an experimental feature LL | #[no_sanitize(address)] | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/39699 + = note: see issue #39699 for more information = help: add `#![feature(no_sanitize)]` 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-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_registrar.stderr b/src/test/ui/feature-gates/feature-gate-plugin_registrar.stderr index 4856cf7c3f7d9..0847d77a85608 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[E0658]: compiler plugins are deprecated @@ -13,7 +13,7 @@ error[E0658]: compiler plugins are deprecated LL | #[plugin_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 warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675 diff --git a/src/test/ui/feature-gates/feature-gate-register_attr.stderr b/src/test/ui/feature-gates/feature-gate-register_attr.stderr index 3965d481d9b64..8ca3845d28aa7 100644 --- a/src/test/ui/feature-gates/feature-gate-register_attr.stderr +++ b/src/test/ui/feature-gates/feature-gate-register_attr.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[register_attr]` attribute is an experimental feature LL | #![register_attr(attr)] | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/66080 + = note: see issue #66080 for more information = help: add `#![feature(register_attr)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/feature-gates/feature-gate-register_tool.stderr b/src/test/ui/feature-gates/feature-gate-register_tool.stderr index 177342aed900f..9ffaaa8de7a06 100644 --- a/src/test/ui/feature-gates/feature-gate-register_tool.stderr +++ b/src/test/ui/feature-gates/feature-gate-register_tool.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[register_tool]` attribute is an experimental feature LL | #![register_tool(tool)] | ^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/66079 + = note: see issue #66079 for more information = help: add `#![feature(register_tool)]` 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 013bad069d8cd..ae44b8020695e 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 error[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 e108d74e9c6cc..3eb005acc33b8 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/56071 + = note: see issue #56071 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 d6fdab2b0412d..58f8b4e703513 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 `rustc_unknown` in this scope @@ -49,7 +49,7 @@ error[E0658]: the `#[rustc_dummy]` attribute is just used for rustc unit tests a 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-start.stderr b/src/test/ui/feature-gates/feature-gate-start.stderr index f42e42ea0391f..eec9d1a29248b 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]: `#[start]` functions are experimental and their signature may chan 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 cc0d426d6cf9a..773ad8ff21760 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 unstable 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-track_caller.stderr b/src/test/ui/feature-gates/feature-gate-track_caller.stderr index b890019ee4f3c..8ceab501617ee 100644 --- a/src/test/ui/feature-gates/feature-gate-track_caller.stderr +++ b/src/test/ui/feature-gates/feature-gate-track_caller.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[track_caller]` attribute is an experimental feature LL | #[track_caller] | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/47809 + = note: see issue #47809 for more information = help: add `#![feature(track_caller)]` 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_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 1f61473c9d2f4..55cd2984ab665 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 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 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]: associated type defaults are unstable @@ -22,7 +22,7 @@ error[E0658]: associated type defaults are unstable LL | type Assoc = impl Debug; | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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[E0658]: `impl Trait` in type aliases is unstable @@ -31,7 +31,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Assoc = 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 @@ -40,7 +40,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type NestedFree = (Vec, impl Debug, impl Iterator); | ^^^^^^^^^^ | - = 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 @@ -49,7 +49,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type NestedFree = (Vec, impl Debug, impl Iterator); | ^^^^^^^^^^ | - = 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 @@ -58,7 +58,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type NestedFree = (Vec, impl Debug, impl Iterator); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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 @@ -67,7 +67,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type NestedFree = (Vec, impl Debug, impl Iterator); | ^^^^^^^^^^ | - = 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 @@ -76,7 +76,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Baa = (Vec, impl Debug, impl Iterator); | ^^^^^^^^^^ | - = 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 @@ -85,7 +85,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Baa = (Vec, impl Debug, impl Iterator); | ^^^^^^^^^^ | - = 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 @@ -94,7 +94,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Baa = (Vec, impl Debug, impl Iterator); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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 @@ -103,7 +103,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type Baa = (Vec, impl Debug, impl Iterator); | ^^^^^^^^^^ | - = 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/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 4addd16649ea0..892020332d702 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 @@ -40,7 +40,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | impl Fn<()> for Foo { | ^^^^^^ help: use parenthetical notation instead: `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[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 { | ^^^^^^^^^ help: use parenthetical notation instead: `FnMut() -> ()` | - = 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 @@ -64,7 +64,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | impl FnOnce<()> for Baz { | ^^^^^^^^^^ help: use parenthetical notation instead: `FnOnce() -> ()` | - = 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 005ff06e68898..feda2fe49f95c 100644 --- a/src/test/ui/feature-gates/feature-gate-unboxed-closures.stderr +++ b/src/test/ui/feature-gates/feature-gate-unboxed-closures.stderr @@ -4,7 +4,7 @@ error[E0658]: rust-call ABI is subject to change LL | extern "rust-call" fn call_once(self, (a, b): (u32, u32)) -> u32 { | ^^^^^^^^^^^ | - = 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 @@ -13,7 +13,7 @@ error[E0658]: the precise format of `Fn`-family traits' type parameters is subje LL | impl FnOnce<(u32, u32)> for Test { | ^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `FnOnce(u32, u32) -> ()` | - = 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 2182b3a313efb..3a123ea1c9398 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/55149 + = note: see issue #55149 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/55149 + = note: see issue #55149 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/55149 + = note: see issue #55149 for more information = help: add `#![feature(untagged_unions)]` to the crate attributes to enable error[E0740]: unions may not contain fields that need dropping 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 97365c34d0148..8e7895555c7a3 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]: the `#[unwind]` attribute is an experimental feature 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/generator-yielding-or-returning-itself.stderr b/src/test/ui/generator-yielding-or-returning-itself.stderr index 1572219cf4ac8..fc8064d8225bf 100644 --- a/src/test/ui/generator-yielding-or-returning-itself.stderr +++ b/src/test/ui/generator-yielding-or-returning-itself.stderr @@ -11,7 +11,8 @@ LL | want_cyclic_generator_return(|| { | = 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 @@ -26,7 +27,8 @@ 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 error: aborting due to 2 previous errors diff --git a/src/test/ui/generic-associated-types/collections.stderr b/src/test/ui/generic-associated-types/collections.stderr index e99ae78f71454..fb06d5e49a391 100644 --- a/src/test/ui/generic-associated-types/collections.stderr +++ b/src/test/ui/generic-associated-types/collections.stderr @@ -5,7 +5,7 @@ LL | / type Sibling: Collection = LL | | <>::Family as CollectionFamily>::Member; | |_________________________________________________________________________^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: type-generic associated types are not yet implemented --> $DIR/collections.rs:25:5 @@ -13,7 +13,7 @@ error: type-generic associated types are not yet implemented LL | type Member: Collection; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/generic-associated-types/gat-dont-ice-on-absent-feature-2.stderr b/src/test/ui/generic-associated-types/gat-dont-ice-on-absent-feature-2.stderr index a7d280d635911..f3da27775adcf 100644 --- a/src/test/ui/generic-associated-types/gat-dont-ice-on-absent-feature-2.stderr +++ b/src/test/ui/generic-associated-types/gat-dont-ice-on-absent-feature-2.stderr @@ -4,7 +4,7 @@ error[E0658]: generic associated types are unstable LL | type Item; | ^^^^^^^^^^^^^ | - = 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 Item = T; | ^^^^^^^^^^^^^^^^^ | - = 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: type-generic associated types are not yet implemented @@ -22,7 +22,7 @@ error: type-generic associated types are not yet implemented LL | type Item; | ^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: aborting due to 3 previous errors diff --git a/src/test/ui/generic-associated-types/gat-dont-ice-on-absent-feature.stderr b/src/test/ui/generic-associated-types/gat-dont-ice-on-absent-feature.stderr index 9031071ff69ba..ec36886f7b51f 100644 --- a/src/test/ui/generic-associated-types/gat-dont-ice-on-absent-feature.stderr +++ b/src/test/ui/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[E0195]: lifetime parameters or bounds on type `Item` do not match the trait declaration diff --git a/src/test/ui/generic-associated-types/generic-associated-types-where.stderr b/src/test/ui/generic-associated-types/generic-associated-types-where.stderr index 2144a5e7d9cd8..fb29b377a16e3 100644 --- a/src/test/ui/generic-associated-types/generic-associated-types-where.stderr +++ b/src/test/ui/generic-associated-types/generic-associated-types-where.stderr @@ -4,7 +4,7 @@ error: type-generic associated types are not yet implemented LL | type Assoc2 where T: Display; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: type-generic associated types are not yet implemented --> $DIR/generic-associated-types-where.rs:13:5 @@ -12,7 +12,7 @@ error: type-generic associated types are not yet implemented LL | type Assoc3; | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: type-generic associated types are not yet implemented --> $DIR/generic-associated-types-where.rs:15:5 @@ -20,7 +20,7 @@ error: type-generic associated types are not yet implemented LL | type WithDefault<'a, T: Debug + 'a> = dyn Iterator; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: aborting due to 3 previous errors diff --git a/src/test/ui/generic-associated-types/issue-47206-where-clause.stderr b/src/test/ui/generic-associated-types/issue-47206-where-clause.stderr index 52207d759b9e5..c9c1a4753b0dd 100644 --- a/src/test/ui/generic-associated-types/issue-47206-where-clause.stderr +++ b/src/test/ui/generic-associated-types/issue-47206-where-clause.stderr @@ -4,7 +4,7 @@ error: type-generic associated types are not yet implemented LL | type Assoc3; | ^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: aborting due to previous error diff --git a/src/test/ui/generic-associated-types/issue-67424.stderr b/src/test/ui/generic-associated-types/issue-67424.stderr index 59ff8ac0a3a70..8b08c71759bb9 100644 --- a/src/test/ui/generic-associated-types/issue-67424.stderr +++ b/src/test/ui/generic-associated-types/issue-67424.stderr @@ -4,7 +4,7 @@ error[E0658]: generic associated types are unstable LL | type Type1: Trait1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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: type-generic associated types are not yet implemented @@ -13,7 +13,7 @@ error: type-generic associated types are not yet implemented LL | type Type1: Trait1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: aborting due to 2 previous errors diff --git a/src/test/ui/generic-associated-types/parameter_number_and_kind.stderr b/src/test/ui/generic-associated-types/parameter_number_and_kind.stderr index 6b5683611a281..028ab72f48812 100644 --- a/src/test/ui/generic-associated-types/parameter_number_and_kind.stderr +++ b/src/test/ui/generic-associated-types/parameter_number_and_kind.stderr @@ -4,7 +4,7 @@ error: type-generic associated types are not yet implemented LL | type D; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: type-generic associated types are not yet implemented --> $DIR/parameter_number_and_kind.rs:11:5 @@ -12,7 +12,7 @@ error: type-generic associated types are not yet implemented LL | type E<'a, T>; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: type-generic associated types are not yet implemented --> $DIR/parameter_number_and_kind.rs:14:5 @@ -20,7 +20,7 @@ error: type-generic associated types are not yet implemented LL | type FOk = Self::E<'static, T>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: type-generic associated types are not yet implemented --> $DIR/parameter_number_and_kind.rs:19:5 @@ -28,7 +28,7 @@ error: type-generic associated types are not yet implemented LL | type FErr2 = Self::E<'static, T, u32>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error[E0107]: wrong number of lifetime arguments: expected 1, found 2 --> $DIR/parameter_number_and_kind.rs:16:35 diff --git a/src/test/ui/generic-associated-types/pointer_family.stderr b/src/test/ui/generic-associated-types/pointer_family.stderr index 2a784f8b9d78c..83fe992fcb571 100644 --- a/src/test/ui/generic-associated-types/pointer_family.stderr +++ b/src/test/ui/generic-associated-types/pointer_family.stderr @@ -4,7 +4,7 @@ error: type-generic associated types are not yet implemented LL | type Pointer: Deref; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: aborting due to previous error diff --git a/src/test/ui/generic-associated-types/shadowing.stderr b/src/test/ui/generic-associated-types/shadowing.stderr index 50c12e822e7db..3ae1e1a40c873 100644 --- a/src/test/ui/generic-associated-types/shadowing.stderr +++ b/src/test/ui/generic-associated-types/shadowing.stderr @@ -20,7 +20,7 @@ error: type-generic associated types are not yet implemented LL | type Bar; | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: type-generic associated types are not yet implemented --> $DIR/shadowing.rs:25:5 @@ -28,7 +28,7 @@ error: type-generic associated types are not yet implemented LL | type Bar; // OK | ^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/44265 + = note: for more information, see issue #44265 for more information error: aborting due to 4 previous errors diff --git a/src/test/ui/half-open-range-patterns/feature-gate-half-open-range-patterns.stderr b/src/test/ui/half-open-range-patterns/feature-gate-half-open-range-patterns.stderr index 99db339cf74e1..62d54463a433c 100644 --- a/src/test/ui/half-open-range-patterns/feature-gate-half-open-range-patterns.stderr +++ b/src/test/ui/half-open-range-patterns/feature-gate-half-open-range-patterns.stderr @@ -26,7 +26,7 @@ error[E0658]: half-open range patterns are unstable LL | if let ..=5 = 0 {} | ^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/67264 + = note: see issue #67264 for more information = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable error[E0658]: half-open range patterns are unstable @@ -35,7 +35,7 @@ error[E0658]: half-open range patterns are unstable LL | if let ...5 = 0 {} | ^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/67264 + = note: see issue #67264 for more information = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable error[E0658]: half-open range patterns are unstable @@ -44,7 +44,7 @@ error[E0658]: half-open range patterns are unstable LL | if let ..5 = 0 {} | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/67264 + = note: see issue #67264 for more information = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable error[E0658]: half-open range patterns are unstable @@ -53,7 +53,7 @@ error[E0658]: half-open range patterns are unstable LL | if let 5.. = 0 {} | ^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/67264 + = note: see issue #67264 for more information = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable error[E0658]: half-open range patterns are unstable @@ -62,7 +62,7 @@ error[E0658]: half-open range patterns are unstable LL | if let 5..= = 0 {} | ^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/67264 + = note: see issue #67264 for more information = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable error[E0658]: half-open range patterns are unstable @@ -71,7 +71,7 @@ error[E0658]: half-open range patterns are unstable LL | if let 5... = 0 {} | ^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/67264 + = note: see issue #67264 for more information = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable error: aborting due to 9 previous errors diff --git a/src/test/ui/impl-trait/where-allowed.stderr b/src/test/ui/impl-trait/where-allowed.stderr index e5d2feff51cc4..5d9ae6a03018f 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[E0658]: `impl Trait` in type aliases is unstable @@ -40,7 +40,7 @@ error[E0658]: `impl Trait` in type aliases is unstable LL | type InReturnInTypeAlias = fn() -> 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 07b7ff942a658..714c04add5f79 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 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) @@ -20,7 +20,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 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) @@ -33,7 +33,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 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 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/internal/internal-unstable-const.stderr b/src/test/ui/internal/internal-unstable-const.stderr index 58bbe798b00b6..b2d97b981ba5d 100644 --- a/src/test/ui/internal/internal-unstable-const.stderr +++ b/src/test/ui/internal/internal-unstable-const.stderr @@ -4,7 +4,7 @@ error[E0723]: loops and conditional expressions are not stable in const fn LL | if true { 4 } else { 5 } | ^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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-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-17718-const-bad-values.stderr b/src/test/ui/issues/issue-17718-const-bad-values.stderr index e45d8b6c740e0..688efcdd022eb 100644 --- a/src/test/ui/issues/issue-17718-const-bad-values.stderr +++ b/src/test/ui/issues/issue-17718-const-bad-values.stderr @@ -4,7 +4,7 @@ error[E0658]: references in constants may only refer to immutable values LL | const C1: &'static mut [usize] = &mut []; | ^^^^^^^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0013]: constants cannot refer to statics @@ -29,7 +29,7 @@ error[E0658]: references in constants may only refer to immutable values LL | const C2: &'static mut usize = unsafe { &mut S }; | ^^^^^^ constants require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error: aborting due to 4 previous errors 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 2bddcc2ba56ce..1be26949b25cb 100644 --- a/src/test/ui/issues/issue-22644.stderr +++ b/src/test/ui/issues/issue-22644.stderr @@ -94,7 +94,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 1c6dd28ce539e..f9403cd077dc3 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)); | ^^ help: use parenthetical notation instead: `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[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..325c28c15e272 100644 --- a/src/test/ui/issues/issue-25439.stderr +++ b/src/test/ui/issues/issue-25439.stderr @@ -6,7 +6,8 @@ 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-32829.stderr b/src/test/ui/issues/issue-32829.stderr index 98201b050ecbe..48e0880d5eda2 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 (in Nightly builds, run with -Z macro-backtrace for more info) 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 6ef5359f9801e..944d544098ab4 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-44406.stderr b/src/test/ui/issues/issue-44406.stderr index a98d833969e80..701c32d6236b6 100644 --- a/src/test/ui/issues/issue-44406.stderr +++ b/src/test/ui/issues/issue-44406.stderr @@ -19,7 +19,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-46604.stderr b/src/test/ui/issues/issue-46604.stderr index 32c7ecbf72e95..771e368a35d93 100644 --- a/src/test/ui/issues/issue-46604.stderr +++ b/src/test/ui/issues/issue-46604.stderr @@ -4,7 +4,7 @@ error[E0658]: references in statics may only refer to immutable values LL | static buf: &mut [u8] = &mut [1u8,2,3,4,5,7]; | ^^^^^^^^^^^^^^^^^^^^ statics require immutable values | - = note: for more information, see https://github.com/rust-lang/rust/issues/57349 + = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable error[E0594]: cannot assign to `buf[_]`, as `buf` is an immutable static item diff --git a/src/test/ui/issues/issue-51714.stderr b/src/test/ui/issues/issue-51714.stderr index c3b880200f851..696030850436f 100644 --- a/src/test/ui/issues/issue-51714.stderr +++ b/src/test/ui/issues/issue-51714.stderr @@ -4,7 +4,7 @@ error[E0658]: `while` is not allowed in a `const` LL | [(); return while let Some(n) = Some(0) {}]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/52000 + = note: see issue #52000 for more information = help: add `#![feature(const_loop)]` to the crate attributes to enable = help: add `#![feature(const_if_match)]` to the crate attributes to enable 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/lifetime_starts_expressions.stderr b/src/test/ui/lifetime_starts_expressions.stderr index a2b4f114b95b9..0d7980d60d62c 100644 --- a/src/test/ui/lifetime_starts_expressions.stderr +++ b/src/test/ui/lifetime_starts_expressions.stderr @@ -18,7 +18,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/inline-trait-and-foreign-items.stderr b/src/test/ui/lint/inline-trait-and-foreign-items.stderr index 5a999a4fa0db9..5f386ea045bf0 100644 --- a/src/test/ui/lint/inline-trait-and-foreign-items.stderr +++ b/src/test/ui/lint/inline-trait-and-foreign-items.stderr @@ -26,7 +26,7 @@ note: the lint level is defined here LL | #![warn(unused_attributes)] | ^^^^^^^^^^^^^^^^^ = 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 #65833 + = note: see issue #65833 for more information error[E0518]: attribute should be applied to function or closure --> $DIR/inline-trait-and-foreign-items.rs:11:5 @@ -43,7 +43,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 #65833 + = note: see issue #65833 for more information error[E0518]: attribute should be applied to function or closure --> $DIR/inline-trait-and-foreign-items.rs:22:5 diff --git a/src/test/ui/never_type/defaulted-never-note.stderr b/src/test/ui/never_type/defaulted-never-note.stderr index 28c9da059edaa..046d0c5fa19ff 100644 --- a/src/test/ui/never_type/defaulted-never-note.stderr +++ b/src/test/ui/never_type/defaulted-never-note.stderr @@ -7,7 +7,7 @@ LL | fn foo(_t: T) {} 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 information). Consider whether you meant to use the type `()` here instead. error: aborting due to previous error diff --git a/src/test/ui/on-unimplemented/feature-gate-on-unimplemented.stderr b/src/test/ui/on-unimplemented/feature-gate-on-unimplemented.stderr index ec1eaff52bd7d..71baf92b2d409 100644 --- a/src/test/ui/on-unimplemented/feature-gate-on-unimplemented.stderr +++ b/src/test/ui/on-unimplemented/feature-gate-on-unimplemented.stderr @@ -4,7 +4,7 @@ error[E0658]: this is an internal attribute that will never be stable LL | #[rustc_on_unimplemented = "test error `{Self}` with `{Bar}`"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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/or-patterns/feature-gate-const-fn.stderr b/src/test/ui/or-patterns/feature-gate-const-fn.stderr index 9284e2d442dfa..38233a944cfac 100644 --- a/src/test/ui/or-patterns/feature-gate-const-fn.stderr +++ b/src/test/ui/or-patterns/feature-gate-const-fn.stderr @@ -4,7 +4,7 @@ error[E0658]: or-pattern is not allowed in a `const fn` LL | const fn foo((Ok(a) | Err(a)): Result) { | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: or-pattern is not allowed in a `const fn` @@ -13,7 +13,7 @@ error[E0658]: or-pattern is not allowed in a `const fn` LL | let Ok(y) | Err(y) = x; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: or-pattern is not allowed in a `const` @@ -22,7 +22,7 @@ error[E0658]: or-pattern is not allowed in a `const` LL | let Ok(y) | Err(y) = x; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: or-pattern is not allowed in a `static` @@ -31,7 +31,7 @@ error[E0658]: or-pattern is not allowed in a `static` LL | let Ok(y) | Err(y) = x; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: or-pattern is not allowed in a `static mut` @@ -40,7 +40,7 @@ error[E0658]: or-pattern is not allowed in a `static mut` LL | let Ok(y) | Err(y) = x; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: or-pattern is not allowed in a `const` @@ -49,7 +49,7 @@ error[E0658]: or-pattern is not allowed in a `const` LL | let Ok(y) | Err(y) = x; | ^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0019]: constant contains unimplemented expression type diff --git a/src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr b/src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr index f520409e8bad6..abcee43553020 100644 --- a/src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr +++ b/src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr @@ -4,7 +4,7 @@ error[E0658]: or-patterns syntax is experimental LL | for | A in 0 {} | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr b/src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr index 30fd6a1a95eff..499f60dd545ff 100644 --- a/src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr +++ b/src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr @@ -4,7 +4,7 @@ error[E0658]: or-patterns syntax is experimental LL | let | A; | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/or-patterns/feature-gate-or_patterns.stderr b/src/test/ui/or-patterns/feature-gate-or_patterns.stderr index aae6644dac2e0..a9e43a4575da0 100644 --- a/src/test/ui/or-patterns/feature-gate-or_patterns.stderr +++ b/src/test/ui/or-patterns/feature-gate-or_patterns.stderr @@ -4,7 +4,7 @@ error[E0658]: or-patterns syntax is experimental LL | Some(0 | 1 | 2) => {} | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -13,7 +13,7 @@ error[E0658]: or-patterns syntax is experimental LL | let | A | B; | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -22,7 +22,7 @@ error[E0658]: or-patterns syntax is experimental LL | let A | B; | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -31,7 +31,7 @@ error[E0658]: or-patterns syntax is experimental LL | for | A | B in 0 {} | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -40,7 +40,7 @@ error[E0658]: or-patterns syntax is experimental LL | for A | B in 0 {} | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -49,7 +49,7 @@ error[E0658]: or-patterns syntax is experimental LL | fn fun((A | B): _) {} | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -58,7 +58,7 @@ error[E0658]: or-patterns syntax is experimental LL | let _ = |(A | B): u8| (); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -67,7 +67,7 @@ error[E0658]: or-patterns syntax is experimental LL | let (A | B); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -76,7 +76,7 @@ error[E0658]: or-patterns syntax is experimental LL | let (A | B,); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -85,7 +85,7 @@ error[E0658]: or-patterns syntax is experimental LL | let A(B | C); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -94,7 +94,7 @@ error[E0658]: or-patterns syntax is experimental LL | let E::V(B | C); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -103,7 +103,7 @@ error[E0658]: or-patterns syntax is experimental LL | let S { f1: B | C, f2 }; | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -112,7 +112,7 @@ error[E0658]: or-patterns syntax is experimental LL | let E::V { f1: B | C, f2 }; | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -121,7 +121,7 @@ error[E0658]: or-patterns syntax is experimental LL | let [A | B]; | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -130,7 +130,7 @@ error[E0658]: or-patterns syntax is experimental LL | accept_pat!((p | q)); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -139,7 +139,7 @@ error[E0658]: or-patterns syntax is experimental LL | accept_pat!((p | q,)); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -148,7 +148,7 @@ error[E0658]: or-patterns syntax is experimental LL | accept_pat!(TS(p | q)); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -157,7 +157,7 @@ error[E0658]: or-patterns syntax is experimental LL | accept_pat!(NS { f: p | q }); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error[E0658]: or-patterns syntax is experimental @@ -166,7 +166,7 @@ error[E0658]: or-patterns syntax is experimental LL | accept_pat!([p | q]); | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/54883 + = note: see issue #54883 for more information = help: add `#![feature(or_patterns)]` to the crate attributes to enable error: aborting due to 19 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/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/recover-from-bad-variant.stderr b/src/test/ui/parser/recover-from-bad-variant.stderr index 375e2d5454489..0272326c7bc4f 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 or tuple 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/pattern/bindings-after-at/feature-gate-bindings_after_at.stderr b/src/test/ui/pattern/bindings-after-at/feature-gate-bindings_after_at.stderr index 5408f6b5fb56d..b976ef4861e37 100644 --- a/src/test/ui/pattern/bindings-after-at/feature-gate-bindings_after_at.stderr +++ b/src/test/ui/pattern/bindings-after-at/feature-gate-bindings_after_at.stderr @@ -4,7 +4,7 @@ error[E0658]: pattern bindings after an `@` are unstable LL | let x @ y = 0; | ^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/65490 + = note: see issue #65490 for more information = help: add `#![feature(bindings_after_at)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/pattern/move-ref-patterns/feature-gate-move_ref_pattern.stderr b/src/test/ui/pattern/move-ref-patterns/feature-gate-move_ref_pattern.stderr index 8aef220c37519..eb5391a95de8e 100644 --- a/src/test/ui/pattern/move-ref-patterns/feature-gate-move_ref_pattern.stderr +++ b/src/test/ui/pattern/move-ref-patterns/feature-gate-move_ref_pattern.stderr @@ -6,7 +6,7 @@ LL | Some((y, ref z)) => {} | | | by-move pattern here | - = note: for more information, see https://github.com/rust-lang/rust/issues/68354 + = note: see issue #68354 for more information = help: add `#![feature(move_ref_pattern)]` to the crate attributes to enable error[E0658]: binding by-move and by-ref in the same pattern is unstable @@ -17,7 +17,7 @@ LL | let (ref a, b) = tup.clone(); | | | by-ref pattern here | - = note: for more information, see https://github.com/rust-lang/rust/issues/68354 + = note: see issue #68354 for more information = help: add `#![feature(move_ref_pattern)]` to the crate attributes to enable error[E0658]: binding by-move and by-ref in the same pattern is unstable @@ -28,7 +28,7 @@ LL | let (a, mut b) = &tup; | | | by-ref pattern here | - = note: for more information, see https://github.com/rust-lang/rust/issues/68354 + = note: see issue #68354 for more information = help: add `#![feature(move_ref_pattern)]` to the crate attributes to enable error[E0658]: binding by-move and by-ref in the same pattern is unstable @@ -39,7 +39,7 @@ LL | let (mut a, b) = &mut tup; | | | by-move pattern here | - = note: for more information, see https://github.com/rust-lang/rust/issues/68354 + = note: see issue #68354 for more information = help: add `#![feature(move_ref_pattern)]` to the crate attributes to enable error[E0507]: cannot move out of a shared reference 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/attributes-on-modules-fail.stderr b/src/test/ui/proc-macro/attributes-on-modules-fail.stderr index 74b9932a916c9..f0ab107e15178 100644 --- a/src/test/ui/proc-macro/attributes-on-modules-fail.stderr +++ b/src/test/ui/proc-macro/attributes-on-modules-fail.stderr @@ -10,7 +10,7 @@ error[E0658]: non-inline modules in proc macro input are unstable LL | mod module; | ^^^^^^^^^^^ | - = 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]: non-inline modules in proc macro input are unstable @@ -19,7 +19,7 @@ error[E0658]: non-inline modules in proc macro input are unstable LL | mod inner; | ^^^^^^^^^^ | - = 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]: non-inline modules in proc macro input are unstable @@ -28,7 +28,7 @@ error[E0658]: non-inline modules in proc macro input are unstable LL | mod inner; | ^^^^^^^^^^ | - = 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]: non-inline modules in proc macro input are unstable @@ -37,7 +37,7 @@ error[E0658]: non-inline modules in proc macro input are unstable LL | mod inner; | ^^^^^^^^^^ | - = 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[E0412]: cannot find type `Y` in this scope 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 ac75367d7ff3b..ff2e3af3777a1 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 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/src/test/ui/proc-macro/proc-macro-gates.stderr b/src/test/ui/proc-macro/proc-macro-gates.stderr index fff96572e340f..a94274de9c134 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: key-value macro attributes are not supported @@ -28,7 +28,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 @@ -37,7 +37,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 @@ -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 expressions @@ -55,7 +55,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 @@ -64,7 +64,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 @@ -73,7 +73,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 patterns @@ -82,7 +82,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 @@ -91,7 +91,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 @@ -100,7 +100,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 @@ -109,7 +109,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 @@ -118,7 +118,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 14 previous errors diff --git a/src/test/ui/raw-ref-op/feature-raw-ref-op.stderr b/src/test/ui/raw-ref-op/feature-raw-ref-op.stderr index cbd413aec7bd0..1e5fd84ff7119 100644 --- a/src/test/ui/raw-ref-op/feature-raw-ref-op.stderr +++ b/src/test/ui/raw-ref-op/feature-raw-ref-op.stderr @@ -4,7 +4,7 @@ error[E0658]: raw address of syntax is experimental LL | &raw const a; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64490 + = note: see issue #64490 for more information = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable error[E0658]: raw address of syntax is experimental @@ -13,7 +13,7 @@ error[E0658]: raw address of syntax is experimental LL | &raw mut a; | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64490 + = note: see issue #64490 for more information = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable error[E0658]: raw address of syntax is experimental @@ -22,7 +22,7 @@ error[E0658]: raw address of syntax is experimental LL | let x = &raw const y; | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64490 + = note: see issue #64490 for more information = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable error[E0658]: raw address of syntax is experimental @@ -31,7 +31,7 @@ error[E0658]: raw address of syntax is experimental LL | let x = &raw mut y; | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64490 + = note: see issue #64490 for more information = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable error[E0658]: raw address of syntax is experimental @@ -40,7 +40,7 @@ error[E0658]: raw address of syntax is experimental LL | is_expr!(&raw const a); | ^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64490 + = note: see issue #64490 for more information = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable error[E0658]: raw address of syntax is experimental @@ -49,7 +49,7 @@ error[E0658]: raw address of syntax is experimental LL | is_expr!(&raw mut a); | ^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/64490 + = note: see issue #64490 for more information = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable error: aborting due to 6 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 685960588a2cb..2870cb57e9caf 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 determine resolution for the macro `foo` diff --git a/src/test/ui/return/return-match-array-const.stderr b/src/test/ui/return/return-match-array-const.stderr index 8b8e961b726d7..c475c7de4381b 100644 --- a/src/test/ui/return/return-match-array-const.stderr +++ b/src/test/ui/return/return-match-array-const.stderr @@ -4,7 +4,7 @@ error[E0658]: `match` is not allowed in a `const` LL | [(); return match 0 { n => n }]; | ^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -13,7 +13,7 @@ error[E0658]: `match` is not allowed in a `const` LL | [(); return match 0 { 0 => 0 }]; | ^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -22,7 +22,7 @@ error[E0658]: `match` is not allowed in a `const` LL | [(); return match () { 'a' => 0, _ => 0 }]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0572]: return statement outside of function body diff --git a/src/test/ui/rfc-2497-if-let-chains/disallowed-positions.stderr b/src/test/ui/rfc-2497-if-let-chains/disallowed-positions.stderr index 7170adca60dc3..084f070989b6c 100644 --- a/src/test/ui/rfc-2497-if-let-chains/disallowed-positions.stderr +++ b/src/test/ui/rfc-2497-if-let-chains/disallowed-positions.stderr @@ -519,7 +519,7 @@ error[E0658]: `match` is not allowed in a `const` LL | true && let 1 = 1 | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -528,7 +528,7 @@ error[E0658]: `match` is not allowed in a `const` LL | true && let 1 = 1 | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0658]: `match` is not allowed in a `const` @@ -537,7 +537,7 @@ error[E0658]: `match` is not allowed in a `const` LL | true && let 1 = 1 | ^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/49146 + = note: see issue #49146 for more information = help: add `#![feature(const_if_match)]` to the crate attributes to enable error[E0308]: mismatched types 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 c14a45af40bb1..178e86272877d 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-2627-raw-dylib/feature-gate-raw-dylib-2.stderr b/src/test/ui/rfc-2627-raw-dylib/feature-gate-raw-dylib-2.stderr index 0869d7ad48a8c..dbee5f316b0a9 100644 --- a/src/test/ui/rfc-2627-raw-dylib/feature-gate-raw-dylib-2.stderr +++ b/src/test/ui/rfc-2627-raw-dylib/feature-gate-raw-dylib-2.stderr @@ -4,7 +4,7 @@ error[E0658]: the `#[link_ordinal]` attribute is an experimental feature LL | #[link_ordinal(42)] | ^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/58713 + = note: see issue #58713 for more information = help: add `#![feature(raw_dylib)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/rfc-2627-raw-dylib/feature-gate-raw-dylib.stderr b/src/test/ui/rfc-2627-raw-dylib/feature-gate-raw-dylib.stderr index 0ca9de28be1ac..a69f67795418d 100644 --- a/src/test/ui/rfc-2627-raw-dylib/feature-gate-raw-dylib.stderr +++ b/src/test/ui/rfc-2627-raw-dylib/feature-gate-raw-dylib.stderr @@ -4,7 +4,7 @@ error[E0658]: kind="raw-dylib" is unstable LL | #[link(name="foo", kind="raw-dylib")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/58713 + = note: see issue #58713 for more information = help: add `#![feature(raw_dylib)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/rfc-2632-const-trait-impl/const-trait-bound-opt-out/feature-gate.stock.stderr b/src/test/ui/rfc-2632-const-trait-impl/const-trait-bound-opt-out/feature-gate.stock.stderr index fbd3840cb1d2b..a1e1c3249af36 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/const-trait-bound-opt-out/feature-gate.stock.stderr +++ b/src/test/ui/rfc-2632-const-trait-impl/const-trait-bound-opt-out/feature-gate.stock.stderr @@ -4,7 +4,7 @@ error[E0658]: `?const` on trait bounds is experimental LL | const fn get_assoc_const() -> i32 { ::CONST } | ^^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/67794 + = note: see issue #67794 for more information = help: add `#![feature(const_trait_bound_opt_out)]` to the crate attributes to enable error: aborting due to previous error diff --git a/src/test/ui/rfc-2632-const-trait-impl/feature-gate.stock.stderr b/src/test/ui/rfc-2632-const-trait-impl/feature-gate.stock.stderr index 093946f859ac3..6e1cdde084396 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/feature-gate.stock.stderr +++ b/src/test/ui/rfc-2632-const-trait-impl/feature-gate.stock.stderr @@ -4,7 +4,7 @@ error[E0658]: const trait impls are experimental LL | impl const T for S {} | ^^^^^ | - = note: for more information, see https://github.com/rust-lang/rust/issues/67792 + = note: see issue #67792 for more information = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable error: const trait impls are not yet implemented diff --git a/src/test/ui/rfc1445/feature-gate.no_gate.stderr b/src/test/ui/rfc1445/feature-gate.no_gate.stderr index 42b81cd43000f..bd294047919f1 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]: use of unstable library feature 'structural_match' LL | impl std::marker::StructuralPartialEq for Foo { } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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[E0658]: use of unstable library feature 'structural_match' @@ -13,7 +13,7 @@ error[E0658]: use of unstable library feature 'structural_match' LL | impl std::marker::StructuralEq for Foo { } | ^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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 2 previous errors diff --git a/src/test/ui/self/elision/ref-self-async.nll.stderr b/src/test/ui/self/elision/ref-self-async.nll.stderr index 46468b693ee98..541e49543221e 100644 --- a/src/test/ui/self/elision/ref-self-async.nll.stderr +++ b/src/test/ui/self/elision/ref-self-async.nll.stderr @@ -4,7 +4,7 @@ error[E0658]: `Wrap<&Struct, Struct>` cannot be used as the type of `self` witho LL | async fn wrap_ref_Self_Self(self: Wrap<&Self, Self>, f: &u8) -> &u8 { | ^^^^^^^^^^^^^^^^^ | - = 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/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 2d3972917dfea..79b12590fc538 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 a0943592539af..10a119a628c70 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 `rustc_err` in this scope diff --git a/src/test/ui/suggestions/missing-assoc-fn.stderr b/src/test/ui/suggestions/missing-assoc-fn.stderr index e4183a45d272a..4f75e2b8380d9 100644 --- a/src/test/ui/suggestions/missing-assoc-fn.stderr +++ b/src/test/ui/suggestions/missing-assoc-fn.stderr @@ -4,7 +4,7 @@ error[E0658]: associated type bounds are unstable LL | fn bat>(_: T) -> Self; | ^^^^^^^^^^ | - = 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[E0046]: not all trait items implemented, missing: `foo`, `bar`, `baz`, `bat` 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-path-2.stderr b/src/test/ui/suggestions/type-ascription-instead-of-path-2.stderr index db793c84cf8b9..0dd1494414fee 100644 --- a/src/test/ui/suggestions/type-ascription-instead-of-path-2.stderr +++ b/src/test/ui/suggestions/type-ascription-instead-of-path-2.stderr @@ -7,7 +7,7 @@ LL | vec![Ok(2)].into_iter().collect:,_>>()?; | 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 423a893e88f5e..848538a4e92fd 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/tool-attributes/diagnostic_item.stderr b/src/test/ui/tool-attributes/diagnostic_item.stderr index 5432f8dea8606..d12834084e714 100644 --- a/src/test/ui/tool-attributes/diagnostic_item.stderr +++ b/src/test/ui/tool-attributes/diagnostic_item.stderr @@ -4,7 +4,7 @@ error[E0658]: diagnostic items compiler internal support for linting LL | #[rustc_diagnostic_item = "foomp"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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/trace_macros-gate.stderr b/src/test/ui/trace_macros-gate.stderr index 7b46bee6a6465..36d7dfdf8f84f 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 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 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 cb35706a51e09..2796c77baa1c4 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-47666.stderr b/src/test/ui/type/ascription/issue-47666.stderr index baffe4ea351c0..f4c9240ab5372 100644 --- a/src/test/ui/type/ascription/issue-47666.stderr +++ b/src/test/ui/type/ascription/issue-47666.stderr @@ -10,7 +10,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 error originates in a macro (in Nightly builds, run with -Z 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 47e3c78459d6a..7127f67cd7dde 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 c47042bbe5984..7130767b6c6f3 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 7ae8caee6f8be..7af9c57a8300a 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..167479270b546 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,8 @@ 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 ba9d984e7036c..9a3bdd2bd5ea4 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=()>) { | ^^ help: use parenthetical notation instead: `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]: the precise format of `Fn`-family traits' type parameters is subject to change @@ -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<()> { | ^^ help: use parenthetical notation instead: `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 diff --git a/src/test/ui/where-clauses/where-equality-constraints.stderr b/src/test/ui/where-clauses/where-equality-constraints.stderr index 54d6ad6a13696..9d8fac02ed33b 100644 --- a/src/test/ui/where-clauses/where-equality-constraints.stderr +++ b/src/test/ui/where-clauses/where-equality-constraints.stderr @@ -4,7 +4,7 @@ error: equality constraints are not yet supported in `where` clauses LL | fn f() where u8 = u16 {} | ^^^^^^^^ not supported | - = note: for more information, see https://github.com/rust-lang/rust/issues/20041 + = note: see issue #20041 for more information error: equality constraints are not yet supported in `where` clauses --> $DIR/where-equality-constraints.rs:3:14 @@ -12,7 +12,7 @@ error: equality constraints are not yet supported in `where` clauses LL | fn g() where for<'a> &'static (u8,) == u16, {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not supported | - = note: for more information, see https://github.com/rust-lang/rust/issues/20041 + = note: see issue #20041 for more information error: aborting due to 2 previous errors