diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-11-20 23:31:36 +0100 |
|---|---|---|
| committer | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-11-20 23:31:36 +0100 |
| commit | c85af74fcd5434e22790047b067120b8aba179d5 (patch) | |
| tree | 188dad6eceb32705aaf563a4a6dd506581917adc /compiler/rustc_resolve/src | |
| parent | 34ea5d02ddaacfedd2d60460bf080b988b941d94 (diff) | |
| download | rust-c85af74fcd5434e22790047b067120b8aba179d5.tar.gz rust-c85af74fcd5434e22790047b067120b8aba179d5.zip | |
update bug message for cg
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs index 2cca1a6ee59..67491b5bf7e 100644 --- a/compiler/rustc_resolve/src/diagnostics.rs +++ b/compiler/rustc_resolve/src/diagnostics.rs @@ -143,7 +143,7 @@ impl<'a> Resolver<'a> { _ => { bug!( "GenericParamsFromOuterFunction should only be used with Res::SelfTy, \ - DefKind::TyParam" + DefKind::TyParam or DefKind::ConstParam" ); } } |
