This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust
/
tests
/
ui
/
rfcs
/
rfc-1937-termination-trait
/
termination-trait-for-result.rs
7 lines
80 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +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 22:16:24 +01:00
use
std
::
io
::
Error
;
fn
main
(
)
->
Result
<
(
)
,
Error
>
{
Ok
(
(
)
)
}
Reference in New Issue
Copy Permalink