about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-08-30 21:19:24 +0200
committerMara Bos <m-ou.se@m-ou.se>2021-08-30 21:27:31 +0200
commit336f31432df03e4dbd635dddedad1c9e67271a0c (patch)
treeffe9b0b86da9d9276cbfb57cf7f77f4268d87660 /compiler/rustc_lint/src/lib.rs
parent13edc17f65bcad7fe9046720a16fc192e810970e (diff)
downloadrust-336f31432df03e4dbd635dddedad1c9e67271a0c.tar.gz
rust-336f31432df03e4dbd635dddedad1c9e67271a0c.zip
Warn when [T; N].into_iter() is ambiguous in the new edition.
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
-rw-r--r--compiler/rustc_lint/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs
index 24ac723f2c9..ef4bda666ba 100644
--- a/compiler/rustc_lint/src/lib.rs
+++ b/compiler/rustc_lint/src/lib.rs
@@ -62,6 +62,8 @@ mod traits;
 mod types;
 mod unused;
 
+pub use array_into_iter::ARRAY_INTO_ITER;
+
 use rustc_ast as ast;
 use rustc_hir as hir;
 use rustc_hir::def_id::LocalDefId;