Skip to content

Commit 501f8a6

Browse files
deps: bump rustc-ap to v687
1 parent 6eba511 commit 501f8a6

File tree

3 files changed

+64
-50
lines changed

3 files changed

+64
-50
lines changed

Cargo.lock

Lines changed: 54 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,32 +107,32 @@ lazy_static = "1.0.0"
107107

108108
[dependencies.rustc_ast]
109109
package = "rustc-ap-rustc_ast"
110-
version = "686.0.0"
110+
version = "687.0.0"
111111

112112
[dependencies.rustc_ast_pretty]
113113
package = "rustc-ap-rustc_ast_pretty"
114-
version = "686.0.0"
114+
version = "687.0.0"
115115

116116
[dependencies.rustc_data_structures]
117117
package = "rustc-ap-rustc_data_structures"
118-
version = "686.0.0"
118+
version = "687.0.0"
119119

120120
[dependencies.rustc_errors]
121121
package = "rustc-ap-rustc_errors"
122-
version = "686.0.0"
122+
version = "687.0.0"
123123

124124
[dependencies.rustc_expand]
125125
package = "rustc-ap-rustc_expand"
126-
version = "686.0.0"
126+
version = "687.0.0"
127127

128128
[dependencies.rustc_parse]
129129
package = "rustc-ap-rustc_parse"
130-
version = "686.0.0"
130+
version = "687.0.0"
131131

132132
[dependencies.rustc_session]
133133
package = "rustc-ap-rustc_session"
134-
version = "686.0.0"
134+
version = "687.0.0"
135135

136136
[dependencies.rustc_span]
137137
package = "rustc-ap-rustc_span"
138-
version = "686.0.0"
138+
version = "687.0.0"

src/formatting/macros.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ use std::collections::HashMap;
1313
use std::panic::{catch_unwind, AssertUnwindSafe};
1414

1515
use rustc_ast::token::{BinOpToken, DelimToken, Token, TokenKind};
16-
use rustc_ast::tokenstream::{
17-
Cursor, LazyTokenStream, LazyTokenStreamInner, TokenStream, TokenTree,
18-
};
16+
use rustc_ast::tokenstream::{Cursor, LazyTokenStream, TokenStream, TokenTree};
1917
use rustc_ast::{ast, ptr};
2018
use rustc_ast_pretty::pprust;
2119
use rustc_parse::parser::Parser;
@@ -1226,7 +1224,7 @@ pub(crate) fn convert_try_mac(
12261224
kind: ast::ExprKind::Try(kind),
12271225
span: mac.span(), // incorrect span, but shouldn't matter too much
12281226
attrs: ast::AttrVec::new(),
1229-
tokens: Some(LazyTokenStream::new(LazyTokenStreamInner::Ready(ts))),
1227+
tokens: Some(LazyTokenStream::new(ts)),
12301228
})
12311229
} else {
12321230
None

0 commit comments

Comments
 (0)