Add more diagnostic items for clippy

This commit is contained in:
Jason Newcomb
2023-09-26 23:56:38 -04:00
parent cae0791da4
commit d464b72970
75 changed files with 289 additions and 270 deletions

View File

@@ -13,6 +13,7 @@ use crate::{
/// A by-value [array] iterator.
#[stable(feature = "array_value_iter", since = "1.51.0")]
#[rustc_insignificant_dtor]
#[rustc_diagnostic_item = "ArrayIntoIter"]
pub struct IntoIter<T, const N: usize> {
/// This is the array we are iterating over.
///