Skip to content

Commit

Permalink
deps: bump rustc-ap to v687
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Nov 28, 2020
1 parent 0037862 commit 581da52
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 50 deletions.
92 changes: 54 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,36 +66,36 @@ rustc-workspace-hack = "1.0.0"

[dependencies.rustc_ast]
package = "rustc-ap-rustc_ast"
version = "686.0.0"
version = "687.0.0"

[dependencies.rustc_ast_pretty]
package = "rustc-ap-rustc_ast_pretty"
version = "686.0.0"
version = "687.0.0"

[dependencies.rustc_attr]
package = "rustc-ap-rustc_attr"
version = "686.0.0"

[dependencies.rustc_data_structures]
package = "rustc-ap-rustc_data_structures"
version = "686.0.0"
version = "687.0.0"

[dependencies.rustc_errors]
package = "rustc-ap-rustc_errors"
version = "686.0.0"
version = "687.0.0"

[dependencies.rustc_expand]
package = "rustc-ap-rustc_expand"
version = "686.0.0"
version = "687.0.0"

[dependencies.rustc_parse]
package = "rustc-ap-rustc_parse"
version = "686.0.0"
version = "687.0.0"

[dependencies.rustc_session]
package = "rustc-ap-rustc_session"
version = "686.0.0"
version = "687.0.0"

[dependencies.rustc_span]
package = "rustc-ap-rustc_span"
version = "686.0.0"
version = "687.0.0"
6 changes: 2 additions & 4 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ use std::collections::HashMap;
use std::panic::{catch_unwind, AssertUnwindSafe};

use rustc_ast::token::{BinOpToken, DelimToken, Token, TokenKind};
use rustc_ast::tokenstream::{
Cursor, LazyTokenStream, LazyTokenStreamInner, TokenStream, TokenTree,
};
use rustc_ast::tokenstream::{Cursor, LazyTokenStream, TokenStream, TokenTree};
use rustc_ast::{ast, ptr};
use rustc_ast_pretty::pprust;
use rustc_parse::parser::Parser;
Expand Down Expand Up @@ -1214,7 +1212,7 @@ pub(crate) fn convert_try_mac(
kind: ast::ExprKind::Try(parser.parse_expr().ok()?),
span: mac.span(), // incorrect span, but shouldn't matter too much
attrs: ast::AttrVec::new(),
tokens: Some(LazyTokenStream::new(LazyTokenStreamInner::Ready(ts))),
tokens: Some(LazyTokenStream::new(ts)),
})
} else {
None
Expand Down

0 comments on commit 581da52

Please sign in to comment.