mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 20:34:06 +00:00
8 lines
215 B
Rust
8 lines
215 B
Rust
trait Trait {}
|
|
|
|
fn test<T: ?self::<i32>::Trait>() {}
|
|
//~^ ERROR type arguments are not allowed on module `maybe_bound_has_path_args`
|
|
//~| WARN relaxing a default bound only does something for `?Sized`
|
|
|
|
fn main() {}
|