diff options
| author | Jake Degen <jakob@degen.org> | 2020-06-13 00:06:09 -0400 |
|---|---|---|
| committer | Jake Degen <jakob@degen.com> | 2020-06-13 00:12:07 -0400 |
| commit | 3ab4b380aa0b0db982d3586b47dcfa13a1a427b8 (patch) | |
| tree | 0cba48b98b58731e24503c325ab61b046fb6452c /src/test/ui/consts/const-eval/shift_overflow.rs | |
| parent | e93cb961ba67c73815401291ab42b81e3e5733ae (diff) | |
| download | rust-3ab4b380aa0b0db982d3586b47dcfa13a1a427b8.tar.gz rust-3ab4b380aa0b0db982d3586b47dcfa13a1a427b8.zip | |
Adjusted some doctests in libcore to use `should_panic`.
Previously, some doctests were spawning new threads and joining them to indicate that a particular call should panic; this hurt readability, so the tests have been adjusted to simply call the method and use the `should_panic` marker.
Diffstat (limited to 'src/test/ui/consts/const-eval/shift_overflow.rs')
0 files changed, 0 insertions, 0 deletions
