rust/tests/ui/self/issue-61882.rs

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

10 lines
142 B
Rust
Raw Normal View History

struct A<T>(T);
impl A<bool> {
const B: A<u8> = Self(0);
//~^ ERROR mismatched types
//~| ERROR mismatched types
}
fn main() {}