From 45112aa8c0a55f003acc3b20646e840909dea08f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 24 May 2021 22:21:25 +0300 Subject: internal: rename hypothetical -> speculative Lets steal this good naming from Roslyn before I forget about it yet again. --- crates/hir_ty/src/lower.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_ty/src') diff --git a/crates/hir_ty/src/lower.rs b/crates/hir_ty/src/lower.rs index 1645ac533..c83933c73 100644 --- a/crates/hir_ty/src/lower.rs +++ b/crates/hir_ty/src/lower.rs @@ -1026,7 +1026,7 @@ pub(crate) fn trait_environment_query( }; if let Some(AssocContainerId::TraitId(trait_id)) = container { // add `Self: Trait` to the environment in trait - // function default implementations (and hypothetical code + // function default implementations (and speculative code // inside consts or type aliases) cov_mark::hit!(trait_self_implements_self); let substs = TyBuilder::type_params_subst(db, trait_id); -- cgit v1.2.3