Update E0229 to new format
This commit is contained in:
parent
41fe4b7195
commit
40b7ace386
1 changed files with 3 additions and 2 deletions
|
@ -42,8 +42,9 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
|
|||
|
||||
pub fn prohibit_projection(self, span: Span)
|
||||
{
|
||||
span_err!(self.sess, span, E0229,
|
||||
"associated type bindings are not allowed here");
|
||||
let mut err = struct_span_err!(self.sess, span, E0229,
|
||||
"associated type bindings are not allowed here");
|
||||
err.span_label(span, &format!("associate type not allowed here")).emit();
|
||||
}
|
||||
|
||||
pub fn prim_ty_to_ty(self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue