about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-18 03:06:42 +0000
committerbors <bors@rust-lang.org>2019-11-18 03:06:42 +0000
commitd67ca28354091f4597b03efef2aebb4b6b55e92e (patch)
treed2aa966834a60dc5993e1f7d0acff0fa18f40a78 /src/libstd/sys/unix/stack_overflow.rs
parent361791bb5fdd714bdc39f8af835f6468dd18331d (diff)
parent1907589fbb87e63b2c93808f485f021d2cc81ca5 (diff)
downloadrust-d67ca28354091f4597b03efef2aebb4b6b55e92e.tar.gz
rust-d67ca28354091f4597b03efef2aebb4b6b55e92e.zip
Auto merge of #66238 - ehuss:stabilize-rustdoc-edition, r=GuillaumeGomez
rustdoc: Stabilize `edition` annotation.

The rustdoc `edition` annotation is currently ignored on stable. This means that the tests will be ignored, unless there is a `rust` annotation, then it will use the global edition. I suspect this was just an oversight during the edition stabilization, but I don't know. Example:

```rust
/// ```edition2018
/// // This code block was ignored on stable.
/// ```

/// ```rust,edition2018
/// // This code block would use whatever edition is passed on the command line.
/// ```
```

AFAIK, it is not possible to write a test that verifies stable behavior, as all tests appear to set RUSTC_BOOTSTRAP which forces all tests to run as "nightly", even on a stable release.

Closes #65980
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions