Skip to content

Commit cda8b2a

Browse files
author
The Miri Cronjob Bot
committed
Merge ref '1553adfe6884' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: 1553adfe6884a8f6c28f5a673d3e605535ee0113 Filtered ref: e5ee70aa5f36dacdc6df9490e867c45aa4e51c18 This merge was created using https://github.com/rust-lang/josh-sync.
2 parents b9859b4 + 49bf3e6 commit cda8b2a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/building/optimized-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Here is an example of how can `opt-dist` be used locally (outside of CI):
118118
```
119119
3. Run the tool with the `local` mode and provide necessary parameters:
120120
```bash
121-
./build/host/stage0-tools-bin/opt-dist local \
121+
./build/host/stage1-tools-bin/opt-dist local \
122122
--target-triple <target> \ # select target, e.g. "x86_64-unknown-linux-gnu"
123123
--checkout-dir <path> \ # path to rust checkout, e.g. "."
124124
--llvm-dir <path> \ # path to built LLVM toolchain, e.g. "/foo/bar/llvm/install"

src/stability.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ of the standard library raises it to a warning with
182182
`#![warn(deprecated_in_future)]`.
183183

184184
## unstable_feature_bound
185-
The `#[unstable_feature_bound(foo)]` attribute can be used together with `#[unstable]` attribute to mark an `impl` of stable type and stable trait as unstable. In std/core, an item annotated with `#[unstable_feature_bound(foo)]` can only be used by another item that is also annotated with `#[unstable_feature_bound(foo)]`. Outside of std/core, using an item with `#[unstable_feature_bound(foo)]` requires the feature to be enabled with `#![feature(foo)]` attribute on the crate. Currently, only `impl`s and free functions can be annotated with `#[unstable_feature_bound]`.
185+
The `#[unstable_feature_bound(foo)]` attribute can be used together with `#[unstable]` attribute to mark an `impl` of stable type and stable trait as unstable. In std/core, an item annotated with `#[unstable_feature_bound(foo)]` can only be used by another item that is also annotated with `#[unstable_feature_bound(foo)]`. Outside of std/core, using an item with `#[unstable_feature_bound(foo)]` requires the feature to be enabled with `#![feature(foo)]` attribute on the crate.
186+
187+
Currently, the items that can be annotated with `#[unstable_feature_bound]` are:
188+
- `impl`
189+
- free function
190+
- trait
186191

187192
[blog]: https://www.ralfj.de/blog/2018/07/19/const.html

0 commit comments

Comments
 (0)