diff options
| author | nidnogg <henriquevt98@gmail.com> | 2022-08-21 13:08:14 -0300 |
|---|---|---|
| committer | nidnogg <henriquevt98@gmail.com> | 2022-08-21 23:22:55 -0300 |
| commit | 0a58b26e8a296a4f03d55ae0469ce4da9a6080a6 (patch) | |
| tree | 4cc8ea375c9fa92726c63fdb66645f634012b3de /compiler/rustc_const_eval/src/errors.rs | |
| parent | 4c82845b3ac583377b871bf01dc07ec513c466fe (diff) | |
| download | rust-0a58b26e8a296a4f03d55ae0469ce4da9a6080a6.tar.gz rust-0a58b26e8a296a4f03d55ae0469ce4da9a6080a6.zip | |
Hotfix ftl err name, added check for err.code in create_feature_err
Diffstat (limited to 'compiler/rustc_const_eval/src/errors.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/errors.rs b/compiler/rustc_const_eval/src/errors.rs index 7e1cf4ef1aa..d0af304f109 100644 --- a/compiler/rustc_const_eval/src/errors.rs +++ b/compiler/rustc_const_eval/src/errors.rs @@ -89,7 +89,7 @@ pub(crate) struct TransientMutBorrowErrRaw { } #[derive(SessionDiagnostic)] -#[error(const_eval::const_evaL_max_num_nodes_in_const_err)] +#[error(const_eval::max_num_nodes_in_const)] pub(crate) struct MaxNumNodesInConstErr { #[primary_span] pub span: Span, |
