This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-06-05 11:48:30 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
901bab70d3
rust
/
tests
/
ui
/
rfcs
/
rfc-1937-termination-trait
/
termination-trait-for-result.rs
7 lines
79 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` annotations to all the tests under `ui/run-pass/`. (I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
2018-08-30 12:18:55 +00:00
// run-pass
Implements RFC 1937: `?` in `main` This is the first part of the RFC 1937 that supports new `Termination` trait in the rust `main` function.
2017-12-03 21:16:24 +00:00
use
std
::
io
::
Error
;
fn
main
(
)
->
Result
<
(
)
,
Error
>
{
Ok
(
(
)
)
}
Reference in New Issue
Copy Permalink