Remove crashes from type_of on resolution that doesn't have a type_of
This commit is contained in:
parent
00c435d9b3
commit
4a088d9070
@ -1,5 +0,0 @@
|
||||
//@ known-bug: rust-lang/rust#129205
|
||||
|
||||
fn x<T: Copy>() {
|
||||
T::try_from();
|
||||
}
|
@ -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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user