rust/tests/ui/issues/issue-18611.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
191 B
Rust
Raw Normal View History

2014-12-06 02:12:25 +00:00
fn add_state(op: <isize as HasState>::State) {
//~^ ERROR `isize: HasState` is not satisfied
//~| ERROR `isize: HasState` is not satisfied
}
2014-12-07 15:22:06 +00:00
2015-04-18 05:12:20 +00:00
trait HasState {
2014-12-07 15:22:06 +00:00
type State;
}
fn main() {}