about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2022-02-16 18:48:33 -0500
committerJacob Pratt <jacob@jhpratt.dev>2022-03-09 16:32:47 -0500
commit5636655d0f0afb0d509cd86ad479773f5854630e (patch)
tree384cfb3eae42fab06a0f55cebffc9d2144f6d80a /library/std/src
parent6efc8e34d8b83de7f5b1e47d4bbbe0f2daa385f8 (diff)
downloadrust-5636655d0f0afb0d509cd86ad479773f5854630e.tar.gz
rust-5636655d0f0afb0d509cd86ad479773f5854630e.zip
New `deprecated_suggestion` feature, use in tests
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 10fec8e1152..4040db38be7 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -270,6 +270,7 @@
 #![feature(doc_cfg)]
 #![feature(doc_cfg_hide)]
 #![feature(rustdoc_internals)]
+#![cfg_attr(not(bootstrap), feature(deprecated_suggestion))]
 #![feature(doc_masked)]
 #![feature(doc_notable_trait)]
 #![feature(dropck_eyepatch)]