Remove crashes from type_of on resolution that doesn't have a type_of

This commit is contained in:
Michael Goulet 2024-08-26 13:07:01 -04:00
parent 00c435d9b3
commit 4a088d9070
2 changed files with 0 additions and 17 deletions

View File

@ -1,5 +0,0 @@
//@ known-bug: rust-lang/rust#129205
fn x<T: Copy>() {
T::try_from();
}

View File

@ -1,12 +0,0 @@
//@ known-bug: rust-lang/rust#129216
//@ only-linux
trait Mirror {
type Assoc;
}
struct Foo;
fn main() {
<Foo as Mirror>::Assoc::new();
}