Implement asymmetrical precedence for closures and jumps
This commit is contained in:
parent
1bea580f36
commit
6cca4ca82b
7 changed files with 150 additions and 75 deletions
|
|
@ -26,7 +26,7 @@ pub fn main() {
|
|||
_ => {}
|
||||
};
|
||||
(4 as usize).match { _ => {} };
|
||||
(return).match { _ => {} };
|
||||
return.match { _ => {} };
|
||||
(a = 42).match { _ => {} };
|
||||
(|| {}).match { _ => {} };
|
||||
(42..101).match { _ => {} };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue