@@ -798,14 +798,14 @@ fn ast_ty_to_trait_ref<'tcx,AC,RS>(this: &AC,
798
798
match ty. node {
799
799
ast:: TyRptr ( None , ref mut_ty) => {
800
800
span_note ! ( this. tcx( ) . sess, ty. span,
801
- "perhaps you meant `&{}({} +{})`? (per RFC 248 )" ,
801
+ "perhaps you meant `&{}({} +{})`? (per RFC 438 )" ,
802
802
ppaux:: mutability_to_string( mut_ty. mutbl) ,
803
803
pprust:: ty_to_string( & * mut_ty. ty) ,
804
804
pprust:: bounds_to_string( bounds) ) ;
805
805
}
806
806
ast:: TyRptr ( Some ( ref lt) , ref mut_ty) => {
807
807
span_note ! ( this. tcx( ) . sess, ty. span,
808
- "perhaps you meant `&{} {}({} +{})`? (per RFC 248 )" ,
808
+ "perhaps you meant `&{} {}({} +{})`? (per RFC 438 )" ,
809
809
pprust:: lifetime_to_string( lt) ,
810
810
ppaux:: mutability_to_string( mut_ty. mutbl) ,
811
811
pprust:: ty_to_string( & * mut_ty. ty) ,
@@ -814,7 +814,7 @@ fn ast_ty_to_trait_ref<'tcx,AC,RS>(this: &AC,
814
814
815
815
_ => {
816
816
span_note ! ( this. tcx( ) . sess, ty. span,
817
- "perhaps you forgot parentheses? (per RFC 248 )" ) ;
817
+ "perhaps you forgot parentheses? (per RFC 438 )" ) ;
818
818
}
819
819
}
820
820
Err ( ErrorReported )
0 commit comments