diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-20 01:13:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-20 01:13:12 +0800 |
| commit | 5a06eab1f5b56735928a2d16728d9cdbfb44cac2 (patch) | |
| tree | a1613c4b5f8ef3d0990fba0fcd2c651e7e3c70d3 /src/rustllvm/RustWrapper.cpp | |
| parent | 4d66b7b76df04c29422ae3385920abb5cb947cff (diff) | |
| parent | dad211ef9fdcef5328813a1907d323303f09fc6c (diff) | |
| download | rust-5a06eab1f5b56735928a2d16728d9cdbfb44cac2.tar.gz rust-5a06eab1f5b56735928a2d16728d9cdbfb44cac2.zip | |
Rollup merge of #56470 - llogiq:process-termination-doctest, r=GuillaumeGomez
Modify doctest's auto-`fn main()` to allow `Result`s This lets the default `fn main()` ~~return `impl Termination`~~ unwrap Results, which allows the use of `?` in most tests without adding it manually. This fixes #56260 ~~Blocked on `std::process::Termination` stabilization.~~ Using `Termination` would have been cleaner, but this should work OK.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
