diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-12-03 15:32:41 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-12-03 16:48:17 +0100 |
| commit | 50eb3a89f8e2a4c1d809d2b0170b0063b9338d6d (patch) | |
| tree | 79b766116bbe4d6ea49f051977be4da4e697f817 /library/std/src | |
| parent | 0105e4a54b2ccbfbd62b0d07f636520b39094f5e (diff) | |
| download | rust-50eb3a89f8e2a4c1d809d2b0170b0063b9338d6d.tar.gz rust-50eb3a89f8e2a4c1d809d2b0170b0063b9338d6d.zip | |
Only deny doc_keyword in std and set it as "allow" by default
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 83eb847697d..6c240cb4c3e 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -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 |
