normalize field projection ty to fix broken MIR issue
This commit is contained in:
parent
66f7a5d92f
commit
7bafb5704d
2 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ fn init_hash(_: &mut [u8; HASH_LEN]) {}
|
|||
fn foo<'a>() -> &'a () {
|
||||
Hash([0; HASH_LEN]);
|
||||
init_hash(&mut [0; HASH_LEN]);
|
||||
let (_array,) = ([0; HASH_LEN],);
|
||||
&()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue