1
Fork 0

Only deny doc_keyword in std and set it as "allow" by default

This commit is contained in:
Guillaume Gomez 2020-12-03 15:32:41 +01:00
parent 0105e4a54b
commit 50eb3a89f8
4 changed files with 10 additions and 3 deletions

View file

@ -212,6 +212,7 @@
all(target_vendor = "fortanix", target_env = "sgx"),
feature(slice_index_methods, coerce_unsized, sgx_platform)
)]
#![deny(rustc::existing_doc_keyword)]
#![cfg_attr(all(test, target_vendor = "fortanix", target_env = "sgx"), feature(fixed_size_array))]
// std is implemented with unstable features, many of which are internal
// compiler details that will never be stable