]> git.lizzy.rs Git - rust.git/blob - src/test/ui/trait-bounds/issue-93008.stderr
Rollup merge of #96684 - tmiasko:mir-downcast, r=petrochenkov
[rust.git] / src / test / ui / trait-bounds / issue-93008.stderr
1 error[E0277]: the trait bound `&'static mut (): Clone` is not satisfied
2   --> $DIR/issue-93008.rs:5:5
3    |
4 LL |     &'static mut (): Clone,
5    |     ^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&'static mut ()`
6    |
7    = help: see issue #48214
8    = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.