about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-01-30 15:11:44 +0530
committerGitHub <noreply@github.com>2023-01-30 15:11:44 +0530
commit28340bab88507a80c326422933eb3e17558ab915 (patch)
tree5245c24ded69c157d02b598777abef3bdacee174 /compiler/rustc_codegen_llvm/src/errors.rs
parentf55b0022db8dccc6aa6bf3f650b562eaec0fdc54 (diff)
parent47adb652d3bb279032ac51adefc6b030d2ae60dc (diff)
downloadrust-28340bab88507a80c326422933eb3e17558ab915.tar.gz
rust-28340bab88507a80c326422933eb3e17558ab915.zip
Rollup merge of #101569 - m-ou-se:alloc-no-rexport-argumentv1, r=thomcc
Don't re-export private/unstable ArgumentV1 from `alloc`.

The `alloc::fmt::ArgumentV1` re-export was marked as `#[stable]` even though the original `core::fmt::ArgumentV1` is `#[unstable]` (and `#[doc(hidden)]`).

(It wasn't usable though:

```
error[E0658]: use of unstable library feature 'fmt_internals': internal to format_args!
 --> src/main.rs:4:12
  |
4 |     let _: alloc::fmt::ArgumentV1 = todo!();
  |            ^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: add `#![feature(fmt_internals)]` to the crate attributes to enable
```
)

Part of #99012
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions