mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
switch back to the latest beta
This commit is contained in:
parent
4bff9ce59a
commit
ebc4e75253
3 changed files with 6 additions and 4 deletions
|
@ -9,7 +9,7 @@ env:
|
||||||
|
|
||||||
build: &rust_build
|
build: &rust_build
|
||||||
language: rust
|
language: rust
|
||||||
rust: beta-2018-11-19
|
rust: beta
|
||||||
script:
|
script:
|
||||||
- cargo gen-tests --verify
|
- cargo gen-tests --verify
|
||||||
- cargo gen-syntax --verify
|
- cargo gen-syntax --verify
|
||||||
|
|
|
@ -186,8 +186,10 @@ mod tests {
|
||||||
|
|
||||||
fn do_check<F>(before: &str, replace_with: &str, reparser: F)
|
fn do_check<F>(before: &str, replace_with: &str, reparser: F)
|
||||||
where
|
where
|
||||||
for<'a> F: Fn(SyntaxNodeRef<'a>, &AtomEdit)
|
for<'a> F: Fn(
|
||||||
-> Option<(SyntaxNodeRef<'a>, GreenNode, Vec<SyntaxError>)>,
|
SyntaxNodeRef<'a>,
|
||||||
|
&AtomEdit,
|
||||||
|
) -> Option<(SyntaxNodeRef<'a>, GreenNode, Vec<SyntaxError>)>,
|
||||||
{
|
{
|
||||||
let (range, before) = extract_range(before);
|
let (range, before) = extract_range(before);
|
||||||
let after = replace_range(before.clone(), range, replace_with);
|
let after = replace_range(before.clone(), range, replace_with);
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub type Result<T> = ::std::result::Result<T, failure::Error>;
|
||||||
pub const GRAMMAR: &str = "crates/ra_syntax/src/grammar.ron";
|
pub const GRAMMAR: &str = "crates/ra_syntax/src/grammar.ron";
|
||||||
pub const SYNTAX_KINDS: &str = "crates/ra_syntax/src/syntax_kinds/generated.rs.tera";
|
pub const SYNTAX_KINDS: &str = "crates/ra_syntax/src/syntax_kinds/generated.rs.tera";
|
||||||
pub const AST: &str = "crates/ra_syntax/src/ast/generated.rs.tera";
|
pub const AST: &str = "crates/ra_syntax/src/ast/generated.rs.tera";
|
||||||
const TOOLCHAIN: &str = "beta-2018-11-19";
|
const TOOLCHAIN: &str = "beta-2018-11-24";
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Test {
|
pub struct Test {
|
||||||
|
|
Loading…
Reference in a new issue