Allow subtyping of the final expression of a constant
Fixes an ICE for the following code: fn foo(_ : &()) {} static X: fn(&'static ()) = foo;
Showing
想要评论请 注册 或 登录
Fixes an ICE for the following code: fn foo(_ : &()) {} static X: fn(&'static ()) = foo;