This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
21bcd2ee9c
rust
/
tests
/
ui
/
consts
/
control-flow
/
issue-50577.rs
7 lines
124 B
Rust
Raw
Normal View
History
Unescape
Escape
Reorganize, bless and add tests for const control flow This creates a new test directory, `ui/consts/control-flow` to hold tests related to control flow in a const context. It also blesses all existing tests with the new error messages, and adds new tests for the `const_if_match` feature.
2019-11-17 23:11:42 -06:00
fn
main
(
)
{
enum
Foo
{
Update tests
2020-05-21 14:49:38 -05:00
Drop
=
assert_eq!
(
1
,
1
)
,
//~^ ERROR `if` may be missing an `else` clause
Reorganize, bless and add tests for const control flow This creates a new test directory, `ui/consts/control-flow` to hold tests related to control flow in a const context. It also blesses all existing tests with the new error messages, and adds new tests for the `const_if_match` feature.
2019-11-17 23:11:42 -06:00
}
}
Reference in New Issue
Copy Permalink