Skip to content

Commit

Permalink
Merge pull request #1153 from calebcartwright/rustc-ap-bump
Browse files Browse the repository at this point in the history
bump rustc-ap crates to v702.0.0
  • Loading branch information
kngwyu authored Feb 3, 2021
2 parents a32852a + 17737c8 commit b29d263
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 45 deletions.
70 changes: 35 additions & 35 deletions Cargo.lock

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

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,31 @@ path = "metadata"

[dependencies.rustc_ast_pretty]
package = "rustc-ap-rustc_ast_pretty"
version = "697.0.0"
version = "702.0.0"

[dependencies.rustc_data_structures]
package = "rustc-ap-rustc_data_structures"
version = "697.0.0"
version = "702.0.0"

[dependencies.rustc_errors]
package = "rustc-ap-rustc_errors"
version = "697.0.0"
version = "702.0.0"

[dependencies.rustc_parse]
package = "rustc-ap-rustc_parse"
version = "697.0.0"
version = "702.0.0"

[dependencies.rustc_session]
package = "rustc-ap-rustc_session"
version = "697.0.0"
version = "702.0.0"

[dependencies.rustc_span]
package = "rustc-ap-rustc_span"
version = "697.0.0"
version = "702.0.0"

[dependencies.rustc_ast]
package = "rustc-ap-rustc_ast"
version = "697.0.0"
version = "702.0.0"

[dev-dependencies.racer-testutils]
version = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-12-31
nightly-2021-02-03
4 changes: 2 additions & 2 deletions src/racer/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use rustc_data_structures::sync::Lrc;
use rustc_errors::emitter::Emitter;
use rustc_errors::{Diagnostic, Handler};
use rustc_parse::new_parser_from_source_str;
use rustc_parse::parser::Parser;
use rustc_parse::parser::{ForceCollect, Parser};
use rustc_session::parse::ParseSess;
use rustc_span::edition::Edition;
use rustc_span::source_map::{self, FileName, SourceMap};
Expand Down Expand Up @@ -65,7 +65,7 @@ where
F: FnOnce(&ast::Stmt),
{
with_error_checking_parse(source_str, |p| {
let stmt = match p.parse_stmt() {
let stmt = match p.parse_stmt(ForceCollect::No) {
Ok(Some(stmt)) => stmt,
_ => return None,
};
Expand Down

0 comments on commit b29d263

Please sign in to comment.