diff options
| author | John Millikin <john@john-millikin.com> | 2023-11-08 09:12:01 +0900 |
|---|---|---|
| committer | John Millikin <john@john-millikin.com> | 2023-11-09 07:10:11 +0900 |
| commit | 341c85648c612532d757afb3cafa63ebaa3693db (patch) | |
| tree | 883e3547b5f51760cd88b1dd0da37c2968644983 /compiler/rustc_span/src | |
| parent | 90fdc1fc270fef7d1a999207f1da29b41da70dac (diff) | |
| download | rust-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.rs | 1 |
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)] |
