Closed
Description
https://github.com/durka/guard 8f9753302f549826800820dc4a34ad8d01dccd66
Not on stable.
101 brian@ip-10-145-43-250:~/dev/guard⟫ rustc +beta -Vv
rustc 1.15.0-beta.3 (a035041ba 2017-01-07)
binary: rustc
commit-hash: a035041ba450ce3061d78a2bdb9c446eb5321d0d
commit-date: 2017-01-07
host: x86_64-unknown-linux-gnu
release: 1.15.0-beta.3
LLVM version: 3.9
Many errors like this:
error: unreachable expression
--> src/lib.rs:111:56
|
111 | match _x {}
| ^^^^^^^^^^^
...
467 | guard!(let Some((a, b)) else { panic!() } = if false { opt } else { opt }); println!("{} {}", a, b);
| --------------------------------------------------------------------------- in this macro invocation
error: unreachable expression
--> src/lib.rs:105:60
|
105 | match _x {}
| ^^^^^^^^^^^
...
468 | guard!(let Some((a, b)) if b > 0 else { panic!() } = opt); println!("{} {}", a, b);
| ---------------------------------------------------------- in this macro invocation
error: unreachable expression
--> src/lib.rs:111:56
|
111 | match _x {}
| ^^^^^^^^^^^
...
468 | guard!(let Some((a, b)) if b > 0 else { panic!() } = opt); println!("{} {}", a, b);
| ---------------------------------------------------------- in this macro invocation
error: aborting due to 52 previous errors
cc @durka