@@ -76,7 +76,7 @@ impl<'v> Visitor<'v> for ParentVisitor {
7676 // method to the root. In this case, if the trait is private, then
7777 // parent all the methods to the trait to indicate that they're
7878 // private.
79- ast:: ItemTrait ( _, _, _, ref methods) if item. vis != ast:: Public => {
79+ ast:: ItemTrait ( _, _, _, _ , ref methods) if item. vis != ast:: Public => {
8080 for m in methods. iter ( ) {
8181 match * m {
8282 ast:: ProvidedMethod ( ref m) => {
@@ -282,7 +282,7 @@ impl<'a, 'tcx, 'v> Visitor<'v> for EmbargoVisitor<'a, 'tcx> {
282282
283283 // Default methods on traits are all public so long as the trait
284284 // is public
285- ast:: ItemTrait ( _, _, _, ref methods) if public_first => {
285+ ast:: ItemTrait ( _, _, _, _ , ref methods) if public_first => {
286286 for method in methods. iter ( ) {
287287 match * method {
288288 ast:: ProvidedMethod ( ref m) => {
@@ -1134,7 +1134,7 @@ impl<'a, 'tcx> SanePrivacyVisitor<'a, 'tcx> {
11341134 }
11351135 }
11361136
1137- ast:: ItemTrait ( _, _, _, ref methods) => {
1137+ ast:: ItemTrait ( _, _, _, _ , ref methods) => {
11381138 for m in methods. iter ( ) {
11391139 match * m {
11401140 ast:: ProvidedMethod ( ref m) => {
@@ -1198,7 +1198,7 @@ impl<'a, 'tcx> SanePrivacyVisitor<'a, 'tcx> {
11981198
11991199 ast:: ItemStruct ( ref def, _) => check_struct ( & * * def) ,
12001200
1201- ast:: ItemTrait ( _, _, _, ref methods) => {
1201+ ast:: ItemTrait ( _, _, _, _ , ref methods) => {
12021202 for m in methods. iter ( ) {
12031203 match * m {
12041204 ast:: RequiredMethod ( ..) => { }
@@ -1305,7 +1305,7 @@ impl<'a, 'tcx, 'v> Visitor<'v> for VisiblePrivateTypesVisitor<'a, 'tcx> {
13051305 // namespace (the contents have their own privacies).
13061306 ast:: ItemForeignMod ( _) => { }
13071307
1308- ast:: ItemTrait ( _, _, ref bounds, _) => {
1308+ ast:: ItemTrait ( _, _, _ , ref bounds, _) => {
13091309 if !self . trait_is_public ( item. id ) {
13101310 return
13111311 }
0 commit comments