Skip to content

Commit

Permalink
Update rustc to nightly-2022-01-17
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurel300 committed Jan 17, 2022
1 parent 36198b5 commit 6a1843e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions prusti-specs/src/specifications/preparser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ impl Parser {
}
}
/// initializes the parser with a TokenStream and the last span
#[allow(clippy::wrong_self_convention)]
fn from_token_stream_last_span(&self, tokens: TokenStream) -> Self {
Self {
tokens: tokens.into_iter().collect(),
Expand Down Expand Up @@ -373,6 +374,7 @@ impl Parser {
}

/// is there any non-prusti operator following the first thing?
#[allow(clippy::wrong_self_convention)]
fn is_part_of_rust_expr(&mut self) -> bool {
if let Some(token) = self.tokens.pop_front() {
let result = !(self.peek_operator("|=") ||
Expand Down
1 change: 1 addition & 0 deletions prusti-tests/tests/verify/pass/arrays/merge.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-test flaky on mac, sometimes crosses timeout
// compile-flags: -Pverification_deadline=500

use prusti_contracts::*;
Expand Down
1 change: 1 addition & 0 deletions prusti-viper/src/encoder/snapshot/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ impl SnapshotEncoder {

/// Returns [true] iff the given type can be used as a quantified variable
/// in a user-facing [forall].
#[allow(clippy::wrong-self-convention)]
pub fn is_quantifiable<'p, 'v: 'p, 'tcx: 'v>(
&mut self,
encoder: &'p Encoder<'v, 'tcx>,
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2022-01-13"
channel = "nightly-2022-01-17"
components = [ "rustc-dev", "llvm-tools-preview", "rust-std", "rustfmt" ]
profile = "minimal"

0 comments on commit 6a1843e

Please sign in to comment.