Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | .typos.toml | 1 | ||||
| -rw-r--r-- | bench_data/glorious_old_parser | 2 | ||||
| -rw-r--r-- | crates/hir-ty/src/next_solver/infer/mod.rs | 6 | ||||
| -rw-r--r-- | crates/ide/src/syntax_highlighting/tests.rs | 2 |
4 files changed, 6 insertions, 5 deletions
diff --git a/.typos.toml b/.typos.toml index e954b08fb1..873daa3bf3 100644 --- a/.typos.toml +++ b/.typos.toml @@ -34,6 +34,7 @@ thir = "thir" jod = "jod" tructure = "tructure" taits = "taits" +inh = "inh" [default.extend-identifiers] anc = "anc" diff --git a/bench_data/glorious_old_parser b/bench_data/glorious_old_parser index 5022514924..a6de9daa86 100644 --- a/bench_data/glorious_old_parser +++ b/bench_data/glorious_old_parser @@ -1,4 +1,4 @@ -//- minicore: fn +//- minicore: fn, iterator, try, panic use crate::ast::{AngleBracketedArgs, ParenthesizedArgs, AttrStyle, BareFnTy}; use crate::ast::{GenericBound, TraitBoundModifier}; use crate::ast::Unsafety; diff --git a/crates/hir-ty/src/next_solver/infer/mod.rs b/crates/hir-ty/src/next_solver/infer/mod.rs index 70d3366675..de21c5442b 100644 --- a/crates/hir-ty/src/next_solver/infer/mod.rs +++ b/crates/hir-ty/src/next_solver/infer/mod.rs @@ -537,9 +537,9 @@ impl<'db> InferCtxt<'db> { /// and it is more convenient and safer when your `params` are inside a [`Binder`]. /// /// [Obligation]: traits::Obligation - /// [`evaluate_obligation`]: crate::traits::query::evaluate_obligation::InferCtxtExt::evaluate_obligation - /// [`predicate_must_hold_modulo_regions`]: crate::traits::query::evaluate_obligation::InferCtxtExt::predicate_must_hold_modulo_regions - /// [`Binder`]: ty::Binder + /// [`evaluate_obligation`]: InferCtxt::evaluate_obligation + /// [`predicate_must_hold_modulo_regions`]: InferCtxt::predicate_must_hold_modulo_regions + /// [`Binder`]: rustc_type_ir::Binder #[instrument(level = "debug", skip(self, params), ret)] pub fn type_implements_trait( &self, diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs index d687cb40a9..b1094872ff 100644 --- a/crates/ide/src/syntax_highlighting/tests.rs +++ b/crates/ide/src/syntax_highlighting/tests.rs @@ -1348,7 +1348,7 @@ fn benchmark_syntax_highlighting_parser() { }) .count() }; - assert_eq!(hash, 1631); + assert_eq!(hash, 1644); } #[test] |