mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
commit
94681450f8
2 changed files with 2 additions and 8 deletions
|
@ -2,15 +2,11 @@ language: rust
|
|||
|
||||
matrix:
|
||||
include:
|
||||
|
||||
- rust: nightly-2018-01-26
|
||||
- rust: stable
|
||||
before_script:
|
||||
- rustup component add rustfmt-preview
|
||||
script:
|
||||
- cargo fmt -- --write-mode=diff
|
||||
|
||||
- rust: stable
|
||||
script:
|
||||
- cargo fmt --all -- --write-mode=diff
|
||||
- cargo test
|
||||
|
||||
branches:
|
||||
|
|
|
@ -5,9 +5,7 @@ use super::is_insignificant;
|
|||
use std::ops::{Add, AddAssign};
|
||||
|
||||
pub(crate) struct ParserInput<'t> {
|
||||
#[allow(unused)]
|
||||
text: &'t str,
|
||||
#[allow(unused)]
|
||||
start_offsets: Vec<TextUnit>,
|
||||
tokens: Vec<Token>, // non-whitespace tokens
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue