about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorJohn Millikin <john@john-millikin.com>2023-11-08 09:12:01 +0900
committerJohn Millikin <john@john-millikin.com>2023-11-09 07:10:11 +0900
commit341c85648c612532d757afb3cafa63ebaa3693db (patch)
tree883e3547b5f51760cd88b1dd0da37c2968644983 /compiler/rustc_span/src
parent90fdc1fc270fef7d1a999207f1da29b41da70dac (diff)
downloadrust-341c85648c612532d757afb3cafa63ebaa3693db.tar.gz
rust-341c85648c612532d757afb3cafa63ebaa3693db.zip
Move `BorrowedBuf` and `BorrowedCursor` from `std:io` to `core::io`
Assigned new feature name `core_io_borrowed_buf` to distinguish from the
`Read::read_buf` functionality in `std::io`.
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs
index fc13bdff36f..489c8d18926 100644
--- a/compiler/rustc_span/src/lib.rs
+++ b/compiler/rustc_span/src/lib.rs
@@ -24,6 +24,7 @@
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
 #![feature(array_windows)]
 #![feature(cfg_match)]
+#![feature(core_io_borrowed_buf)]
 #![feature(if_let_guard)]
 #![feature(let_chains)]
 #![feature(min_specialization)]