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 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue