about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-23 13:10:07 -0700
committerGitHub <noreply@github.com>2020-06-23 13:10:07 -0700
commit505cf52c537c0d64ecf72e12e9853e8693b30406 (patch)
tree4fb2bd3f5ca240249ce799feb31c88eecb852a42 /src/libstd/sys/unix/stack_overflow.rs
parentf5e46fe46c2931fa6c0eea78d7fb424ab01606fc (diff)
parent95f8daa82b52e95081b66d58953c2329a9f0458e (diff)
downloadrust-505cf52c537c0d64ecf72e12e9853e8693b30406.tar.gz
rust-505cf52c537c0d64ecf72e12e9853e8693b30406.zip
Rollup merge of #73523 - jyn514:everybody_loops, r=ecstatic-morse
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