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
rust
/
src
/
test
/
run-pass
/
ctfe
/
const-block-non-item-statement.rs
9 lines
92 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` to collection of tests.
2018-09-06 14:41:12 +02:00
// run-pass
Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling with clean stderr again. Most were added mechanically.
2018-09-25 23:51:35 +02:00
#![
allow(dead_code)
]
Add `// run-pass` to collection of tests.
2018-09-06 14:41:12 +02:00
Allow let bindings in const fn and constants
2018-03-27 21:16:37 +02:00
enum
Foo
{
Bar
=
{
let
x
=
1
;
3
}
}
pub
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink