1
Fork 0

Remove ordering hint

This commit is contained in:
kadmin 2021-02-16 19:03:22 +00:00
parent b97951b50f
commit f52029553f
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,9 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
add_braces_suggestion(arg, &mut err);
err.set_primary_message(
"unresolved item provided when a constant was expected",
);
)
.emit();
return;
}
Res::Def(DefKind::TyParam, src_def_id) => {
if let Some(param_local_id) = param.def_id.as_local() {