rust/tests/ui/generics/issue-79605.rs

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

7 lines
154 B
Rust
Raw Normal View History

2023-04-15 06:47:46 -05:00
struct X<'a, T>(&'a T);
impl X<'_, _> {}
//~^ ERROR the placeholder `_` is not allowed within types on item signatures for implementations
fn main() {}