about summary refs log tree commit diff
path: root/src/test/run-pass/drop-on-empty-block-exit.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-04-11 20:59:18 -0700
committerSteven Fackler <sfackler@gmail.com>2014-04-13 23:47:53 -0700
commiteb0473df93b49d6a2ff50f82e435dbd2e19467c7 (patch)
treea34483e0c817fd840d7dd5e38401a5dc7883fbb6 /src/test/run-pass/drop-on-empty-block-exit.rs
parentbb9b2e0ebe63b6853a7936aa8071859e433c6597 (diff)
downloadrust-eb0473df93b49d6a2ff50f82e435dbd2e19467c7.tar.gz
rust-eb0473df93b49d6a2ff50f82e435dbd2e19467c7.zip
Make Result::{unwrap, unwrap_err} require Show
`foo.ok().unwrap()` and `foo.err().unwrap()` are the fallbacks for types
that aren't `Show`.

Closes #13379
Diffstat (limited to 'src/test/run-pass/drop-on-empty-block-exit.rs')
0 files changed, 0 insertions, 0 deletions