mirror of
https://github.com/rust-lang/rust
synced 2024-10-02 06:44:33 +00:00
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 a new issue