mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-29 21:41:47 +00:00
Adjust crash bug to still reproduce.
This test reproduces a rustc ICE. Unfortunately, the changes to lifetime elision mask the original ICE bug by making this function signature illegal. However, by simplifying the signature we can regain the original ICE.
This commit is contained in:
parent
e62599f856
commit
6287c94fa1
@ -1,7 +1,7 @@
|
||||
//@ known-bug: #122903
|
||||
impl Struct {
|
||||
async fn box_box_ref_Struct(
|
||||
self: Box<Box<Self, impl FnMut(&mut Box<Box<Self, impl FnMut(&mut Self)>>)>>,
|
||||
fn box_box_ref_Struct(
|
||||
self: impl FnMut(Box<impl FnMut(&mut Self)>),
|
||||
) -> &u32 {
|
||||
f
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user