about summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval/shift_overflow.rs
diff options
context:
space:
mode:
authorJake Degen <jakob@degen.org>2020-06-13 00:06:09 -0400
committerJake Degen <jakob@degen.com>2020-06-13 00:12:07 -0400
commit3ab4b380aa0b0db982d3586b47dcfa13a1a427b8 (patch)
tree0cba48b98b58731e24503c325ab61b046fb6452c /src/test/ui/consts/const-eval/shift_overflow.rs
parente93cb961ba67c73815401291ab42b81e3e5733ae (diff)
downloadrust-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