Skip to content

Commit fb17423

Browse files
committed
Auto merge of rust-lang#117180 - matthiaskrgr:rollup-rxhl6ep, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - rust-lang#117111 (Remove support for alias `-Z instrument-coverage`) - rust-lang#117141 (Require target features to match exactly during inlining) - rust-lang#117152 (Fix unwrap suggestion for async fn) - rust-lang#117154 (implement C ABI lowering for CSKY) - rust-lang#117159 (Work around the fact that `check_mod_type_wf` may spuriously return `ErrorGuaranteed`) - rust-lang#117163 (compiletest: Display compilation errors in mir-opt tests) - rust-lang#117173 (Make `Iterator` a lang item) r? `@ghost` `@rustbot` modify labels: rollup
2 parents d5cb78c + d371191 commit fb17423

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/iter/traits/iterator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ fn _assert_is_object_safe(_: &dyn Iterator<Item = ()>) {}
6969
message = "`{Self}` is not an iterator"
7070
)]
7171
#[doc(notable_trait)]
72+
#[cfg_attr(not(bootstrap), lang = "iterator")]
7273
#[rustc_diagnostic_item = "Iterator"]
7374
#[must_use = "iterators are lazy and do nothing unless consumed"]
7475
pub trait Iterator {

0 commit comments

Comments
 (0)