about summary refs log tree commit diff
path: root/src/test/ui/const-generics
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-08-12 13:25:07 +0200
committerGitHub <noreply@github.com>2021-08-12 13:25:07 +0200
commit3d733f6785efbda9fa6196c4077df5b31273f1b9 (patch)
tree3502d4ed94f8c11f6c38f92d7d2b32fd3e653f67 /src/test/ui/const-generics
parentcc54fdadd24baadbcf0c2b3a56cf2ea59284c23b (diff)
parenta851b56a105ae52f71bf040f80f9800db547d93d (diff)
downloadrust-3d733f6785efbda9fa6196c4077df5b31273f1b9.tar.gz
rust-3d733f6785efbda9fa6196c4077df5b31273f1b9.zip
Rollup merge of #87885 - m-ou-se:edition-guide-links, r=rylev
Link to edition guide instead of issues for 2021 lints.

This changes the 2021 lints to not link to github issues, but to the edition guide instead.

Fixes  #86996
Diffstat (limited to 'src/test/ui/const-generics')
-rw-r--r--src/test/ui/const-generics/min_const_generics/const-expression-suggest-missing-braces.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/const-generics/min_const_generics/const-expression-suggest-missing-braces.stderr b/src/test/ui/const-generics/min_const_generics/const-expression-suggest-missing-braces.stderr
index 1707640f6ed..380c17c8e62 100644
--- a/src/test/ui/const-generics/min_const_generics/const-expression-suggest-missing-braces.stderr
+++ b/src/test/ui/const-generics/min_const_generics/const-expression-suggest-missing-braces.stderr
@@ -139,7 +139,7 @@ LL |     foo::<BAR + BAR>();
    |
    = note: `#[warn(bare_trait_objects)]` on by default
    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
-   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
+   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
 
 error[E0747]: type provided when a constant was expected
   --> $DIR/const-expression-suggest-missing-braces.rs:11:11