about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-10-20 18:17:42 +0100
committervarkor <github@varkor.com>2019-10-22 12:26:32 +0100
commit133cd2cfaf244c130e2e0d681090ca117bcba94e (patch)
tree08ba9c66c833011a5451fe5338834c7b7e087cff /src/test
parentbbd53deaeb79e78162524e18ca29211745e2d18e (diff)
downloadrust-133cd2cfaf244c130e2e0d681090ca117bcba94e.tar.gz
rust-133cd2cfaf244c130e2e0d681090ca117bcba94e.zip
Search for generic parameters when finding non-`structural_match` types
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/const-generics/forbid-non-structural_match-types.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/const-generics/forbid-non-structural_match-types.stderr b/src/test/ui/const-generics/forbid-non-structural_match-types.stderr
index 9ab6c69521b..c870d9b1db4 100644
--- a/src/test/ui/const-generics/forbid-non-structural_match-types.stderr
+++ b/src/test/ui/const-generics/forbid-non-structural_match-types.stderr
@@ -6,7 +6,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
 
-error[E0739]: the types of const generic parameters must derive `PartialEq` and `Eq`
+error[E0740]: the types of const generic parameters must derive `PartialEq` and `Eq`
   --> $DIR/forbid-non-structural_match-types.rs:11:19
    |
 LL | struct D<const X: C>;
@@ -14,4 +14,4 @@ LL | struct D<const X: C>;
 
 error: aborting due to previous error
 
-For more information about this error, try `rustc --explain E0739`.
+For more information about this error, try `rustc --explain E0740`.