forked from AbleOS/holey-bytes
removing error for needless @as temporarly
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
This commit is contained in:
parent
b3f858f64b
commit
e769fa8dba
|
@ -1477,7 +1477,8 @@ impl<'a> Codegen<'a> {
|
|||
&& ity.try_upcast(ty) == Some(ty)
|
||||
&& val.ty == ity
|
||||
{
|
||||
self.error(pos, "the type is known at this point, remove the hint");
|
||||
_ = pos;
|
||||
//self.error(pos, "the type is known at this point, remove the hint");
|
||||
}
|
||||
self.assert_ty(expr.pos(), &mut val, ty, "hinted expr");
|
||||
Some(val)
|
||||
|
|
Loading…
Reference in a new issue