]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-50581.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-50581.stderr
1 error[E0268]: `break` outside of a loop
2   --> $DIR/issue-50581.rs:2:14
3    |
4 LL |     |_: [u8; break]| ();
5    |              ^^^^^ cannot `break` outside of a loop
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0268`.