diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-06-19 20:06:49 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-06-19 20:27:22 -0400 |
| commit | 95f8daa82b52e95081b66d58953c2329a9f0458e (patch) | |
| tree | 504a22bcab6531ff06508011c16d3865f0762500 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | e8ff4bcbd02475cf487cd101bf32954dc63366d4 (diff) | |
| download | rust-95f8daa82b52e95081b66d58953c2329a9f0458e.tar.gz rust-95f8daa82b52e95081b66d58953c2329a9f0458e.zip | |
Fix -Z unpretty=everybody_loops
It turns out that this has not been working for who knows how long.
Previously:
```
pub fn h() { 1 + 2; }
```
After this change:
```
pub fn h() { loop {} }
```
This only affected the pass when run with the command line
pretty-printing option, so rustdoc was still replacing bodies with
`loop {}`.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
