]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_error_codes/src/lib.rs
Rollup merge of #81136 - Xavientois:io_reader_size_hint, r=cramertj
[rust.git] / compiler / rustc_error_codes / src / lib.rs
index e4a702531442ee1b97e6bf4b5556f83514c1881e..14ddb3e20793a24a2db9eaf8829e23bab5aa563c 100644 (file)
@@ -1,4 +1,5 @@
-#![deny(invalid_codeblock_attributes)]
+#![cfg_attr(bootstrap, deny(invalid_codeblock_attributes))]
+#![cfg_attr(not(bootstrap), deny(rustdoc::invalid_codeblock_attributes))]
 //! This library is used to gather all error codes into one place,
 //! the goal being to make their maintenance easier.