Skip to content

Commit 581da52

Browse files
deps: bump rustc-ap to v687
1 parent 0037862 commit 581da52

File tree

3 files changed

+64
-50
lines changed

3 files changed

+64
-50
lines changed

Cargo.lock

+54-38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -66,36 +66,36 @@ rustc-workspace-hack = "1.0.0"
6666

6767
[dependencies.rustc_ast]
6868
package = "rustc-ap-rustc_ast"
69-
version = "686.0.0"
69+
version = "687.0.0"
7070

7171
[dependencies.rustc_ast_pretty]
7272
package = "rustc-ap-rustc_ast_pretty"
73-
version = "686.0.0"
73+
version = "687.0.0"
7474

7575
[dependencies.rustc_attr]
7676
package = "rustc-ap-rustc_attr"
7777
version = "686.0.0"
7878

7979
[dependencies.rustc_data_structures]
8080
package = "rustc-ap-rustc_data_structures"
81-
version = "686.0.0"
81+
version = "687.0.0"
8282

8383
[dependencies.rustc_errors]
8484
package = "rustc-ap-rustc_errors"
85-
version = "686.0.0"
85+
version = "687.0.0"
8686

8787
[dependencies.rustc_expand]
8888
package = "rustc-ap-rustc_expand"
89-
version = "686.0.0"
89+
version = "687.0.0"
9090

9191
[dependencies.rustc_parse]
9292
package = "rustc-ap-rustc_parse"
93-
version = "686.0.0"
93+
version = "687.0.0"
9494

9595
[dependencies.rustc_session]
9696
package = "rustc-ap-rustc_session"
97-
version = "686.0.0"
97+
version = "687.0.0"
9898

9999
[dependencies.rustc_span]
100100
package = "rustc-ap-rustc_span"
101-
version = "686.0.0"
101+
version = "687.0.0"

src/macros.rs

+2-4
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;
@@ -1214,7 +1212,7 @@ pub(crate) fn convert_try_mac(
12141212
kind: ast::ExprKind::Try(parser.parse_expr().ok()?),
12151213
span: mac.span(), // incorrect span, but shouldn't matter too much
12161214
attrs: ast::AttrVec::new(),
1217-
tokens: Some(LazyTokenStream::new(LazyTokenStreamInner::Ready(ts))),
1215+
tokens: Some(LazyTokenStream::new(ts)),
12181216
})
12191217
} else {
12201218
None

0 commit comments

Comments
 (0)