]> git.lizzy.rs Git - rust.git/blob - src/test/ui/expr-block-unique.rs
Move generic error message to separate branches
[rust.git] / src / test / ui / expr-block-unique.rs
1 // run-pass
2 #![allow(unused_braces)]
3
4 pub fn main() { let x: Box<_> = { Box::new(100) }; assert_eq!(*x, 100); }