6d86969260
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
9 lines
171 B
Rust
9 lines
171 B
Rust
iface foo<T> { }
|
|
|
|
fn bar(x: foo<uint>) -> foo<int> {
|
|
ret (x as foo::<int>);
|
|
//~^ ERROR mismatched types: expected `foo<int>` but found `foo<uint>`
|
|
}
|
|
|
|
fn main() {}
|