From c42cdff3d2ed2e30add09dd0d602181b6f83534d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 17 Jun 2021 11:28:44 +0300 Subject: internal: minimize minicore We want to keep minicore small, so let's split out iterator adapters and sources into a separate `iterators` region, and use them only when needed. --- crates/ide/src/inlay_hints.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ide/src') diff --git a/crates/ide/src/inlay_hints.rs b/crates/ide/src/inlay_hints.rs index a6ba3d734..335d57a0d 100644 --- a/crates/ide/src/inlay_hints.rs +++ b/crates/ide/src/inlay_hints.rs @@ -818,7 +818,7 @@ fn main() { fn shorten_iterators_in_associated_params() { check_types( r#" -//- minicore: iterator +//- minicore: iterators use core::iter; pub struct SomeIter {} @@ -1126,7 +1126,7 @@ fn main() { fn shorten_iterator_hints() { check_types( r#" -//- minicore: iterator +//- minicore: iterators use core::iter; struct MyIter; @@ -1357,7 +1357,7 @@ fn main() { max_length: None, }, r#" -//- minicore: iterator +//- minicore: iterators use core::iter; struct MyIter; -- cgit v1.2.3