diff options
| author | lcnr <rust@lcnr.de> | 2022-09-26 13:00:29 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2022-09-27 10:37:23 +0200 |
| commit | 1fc86a63f451b81606e4787692517dc613f333db (patch) | |
| tree | 2b4319f9f442c29fb6be16d4fd98fd27637e8f13 /src/test | |
| parent | de0b511daa91469dd251e736fb8914d2360ac0ec (diff) | |
| download | rust-1fc86a63f451b81606e4787692517dc613f333db.tar.gz rust-1fc86a63f451b81606e4787692517dc613f333db.zip | |
rustc_typeck to rustc_hir_analysis
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/rfc-2632-const-trait-impl/trait-where-clause-const.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/suggestions/non-existent-field-present-in-subfield-recursion-limit.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/rfc-2632-const-trait-impl/trait-where-clause-const.rs b/src/test/ui/rfc-2632-const-trait-impl/trait-where-clause-const.rs index 7a88ec35c8f..47c38c979c3 100644 --- a/src/test/ui/rfc-2632-const-trait-impl/trait-where-clause-const.rs +++ b/src/test/ui/rfc-2632-const-trait-impl/trait-where-clause-const.rs @@ -1,6 +1,6 @@ // Like trait-where-clause.rs, but we are calling from a const context. // Checking the validity of traits' where clauses happen at a later stage. -// (`rustc_const_eval` instead of `rustc_typeck`) Therefore one file as a +// (`rustc_const_eval` instead of `rustc_hir_analysis`) Therefore one file as a // test is not enough. #![feature(const_trait_impl)] diff --git a/src/test/ui/suggestions/non-existent-field-present-in-subfield-recursion-limit.rs b/src/test/ui/suggestions/non-existent-field-present-in-subfield-recursion-limit.rs index 98b408daa02..a7a3f98180a 100644 --- a/src/test/ui/suggestions/non-existent-field-present-in-subfield-recursion-limit.rs +++ b/src/test/ui/suggestions/non-existent-field-present-in-subfield-recursion-limit.rs @@ -1,4 +1,4 @@ -// In rustc_typeck::check::expr::no_such_field_err we recursively +// In rustc_hir_analysis::check::expr::no_such_field_err we recursively // look in subfields for the field. This recursive search is limited // in depth for compile-time reasons and to avoid infinite recursion // in case of cycles. This file tests that the limit in the recursion |
