6d86969260
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
11 lines
131 B
Rust
11 lines
131 B
Rust
fn foo<T>() {
|
|
1u.bar::<T>(); //~ ERROR: missing `copy`
|
|
}
|
|
|
|
impl methods for uint {
|
|
fn bar<T:copy>() {
|
|
}
|
|
}
|
|
|
|
fn main() {}
|