summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0301.stderr
blob: ff4ee32d47b09c3729424b9449687b83335fefc8 (plain)
1
2
3
4
5
6
7
8
error[E0301]: cannot mutably borrow in a pattern guard
  --> $DIR/E0301.rs:14:19
   |
14 |         option if option.take().is_none() => {}, //~ ERROR E0301
   |                   ^^^^^^ borrowed mutably in pattern guard

error: aborting due to previous error