about summary refs log tree commit diff
path: root/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
diff options
context:
space:
mode:
authorJakub Kądziołka <kuba@kadziolka.net>2021-11-08 18:39:22 +0100
committerJakub Kądziołka <kuba@kadziolka.net>2021-11-08 19:49:41 +0100
commit048e1c942d21a143d1faf8077a6fee9c43dc8de1 (patch)
treeeda0fd922b64c54b44cf356f6bd81a9a7bf036cf /src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
parent3e3890c9d4064253aaa8c51f5d5458d2dc6dab77 (diff)
downloadrust-048e1c942d21a143d1faf8077a6fee9c43dc8de1.tar.gz
rust-048e1c942d21a143d1faf8077a6fee9c43dc8de1.zip
Add a note about feature(explicit_generic_args_with_impl_trait) to the relevant error message
Diffstat (limited to 'src/test/ui/const-generics/impl-trait-with-const-arguments.stderr')
-rw-r--r--src/test/ui/const-generics/impl-trait-with-const-arguments.stderr3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr b/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
index 6268a564b06..87e4ad50040 100644
--- a/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
+++ b/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
@@ -3,6 +3,9 @@ error[E0632]: cannot provide explicit generic arguments when `impl Trait` is use
    |
 LL |     assert_eq!(f::<4usize>(Usizable), 20usize);
    |                    ^^^^^^ explicit generic argument not allowed
+   |
+   = note: see issue #83701 <https://github.com/rust-lang/rust/issues/83701> for more information
+   = help: add `#![feature(explicit_generic_args_with_impl_trait)]` to the crate attributes to enable
 
 error: aborting due to previous error