rust/tests/ui/issues/issue-18611.rs
2023-01-11 09:32:08 +00:00

10 lines
145 B
Rust

fn add_state(op: <isize as HasState>::State) {
//~^ ERROR `isize: HasState` is not satisfied
}
trait HasState {
type State;
}
fn main() {}