File tree Expand file tree Collapse file tree 8 files changed +10
-7
lines changed Expand file tree Collapse file tree 8 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124
124
strategy :
125
125
fail-fast : false
126
126
matrix :
127
- msrv : ["1.60 .0"]
127
+ msrv : ["1.61 .0"]
128
128
os :
129
129
- ubuntu
130
130
- macOS
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ All user visible changes to `cucumber-expressions` crate will be documented in t
13
13
14
14
### BC Breaks
15
15
16
- - Bumped up [ MSRV] to 1.60 for more clever support of [ Cargo feature] s.
16
+ - Bumped up [ MSRV] to 1.61 for more clever support of [ Cargo feature] s.
17
17
18
18
19
19
Original file line number Diff line number Diff line change 2
2
name = " cucumber-expressions"
3
3
version = " 0.3.0-dev"
4
4
edition = " 2021"
5
- rust-version = " 1.60 "
5
+ rust-version = " 1.61 "
6
6
description = " Cucumber Expressions AST and parser."
7
7
license = " MIT OR Apache-2.0"
8
8
authors = [
Original file line number Diff line number Diff line change 4
4
[ ![ Crates.io] ( https://img.shields.io/crates/v/cucumber-expressions.svg?maxAge=2592000 )] ( https://crates.io/crates/cucumber-expressions )
5
5
[ ![ Documentation] ( https://docs.rs/cucumber-expressions/badge.svg )] ( https://docs.rs/cucumber-expressions )
6
6
[ ![ CI] ( https://github.com/cucumber-rs/cucumber-expressions/workflows/CI/badge.svg?branch=main " CI ")] ( https://github.com/cucumber-rs/cucumber-expressions/actions?query=workflow%3ACI+branch%3Amaster )
7
- [ ![ Rust 1.60 +] ( https://img.shields.io/badge/rustc-1.60 +-lightgray.svg " Rust 1.60 + ")] ( https://blog.rust-lang.org/2022/04/07 /Rust-1.60 .0.html )
7
+ [ ![ Rust 1.61 +] ( https://img.shields.io/badge/rustc-1.61 +-lightgray.svg " Rust 1.61 + ")] ( https://blog.rust-lang.org/2022/05/19 /Rust-1.61 .0.html )
8
8
[ ![ Unsafe Forbidden] ( https://img.shields.io/badge/unsafe-forbidden-success.svg )] ( https://github.com/rust-secure-code/safety-dance )
9
9
10
10
- [ Changelog] ( https://github.com/cucumber-rs/cucumber-expressions/blob/main/CHANGELOG.md )
Original file line number Diff line number Diff line change 2
2
name = " cucumber-expressions-fuzz"
3
3
version = " 0.0.0"
4
4
edition = " 2021"
5
- rust-version = " 1.60 "
5
+ rust-version = " 1.61 "
6
6
description = " Fuzz testing for `cucumber-expressions` crate."
7
7
license = " MIT OR Apache-2.0"
8
8
authors = [
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ impl<'s> Expression<Spanned<'s>> {
125
125
/// `parameters` in addition to [default ones][1].
126
126
///
127
127
/// [1]: https://github.com/cucumber/cucumber-expressions#parameter-types
128
- pub fn with_parameters < P : ParametersProvider < Spanned < ' s > > > (
128
+ pub const fn with_parameters < P : ParametersProvider < Spanned < ' s > > > (
129
129
self ,
130
130
parameters : P ,
131
131
) -> WithCustomParameters < Self , P > {
Original file line number Diff line number Diff line change 46
46
clippy:: if_then_some_else_none,
47
47
clippy:: imprecise_flops,
48
48
clippy:: index_refutable_slice,
49
+ clippy:: iter_with_drain,
49
50
clippy:: let_underscore_must_use,
50
51
clippy:: lossy_float_literal,
51
52
clippy:: map_err_ignore,
56
57
clippy:: mutex_atomic,
57
58
clippy:: mutex_integer,
58
59
clippy:: nonstandard_macro_braces,
60
+ clippy:: only_used_in_recursion,
59
61
clippy:: option_if_let_else,
60
62
clippy:: panic_in_result_fn,
61
63
clippy:: pedantic,
77
79
clippy:: trailing_empty_array,
78
80
clippy:: transmute_undefined_repr,
79
81
clippy:: trivial_regex,
82
+ clippy:: try_err,
80
83
clippy:: undocumented_unsafe_blocks,
81
84
clippy:: unimplemented,
82
85
clippy:: unnecessary_self_imports,
Original file line number Diff line number Diff line change @@ -775,7 +775,7 @@ impl<Input: Display> Error<Input> {
775
775
///
776
776
/// [`Error`]: enum@Error
777
777
/// [`Failure`]: Err::Failure
778
- fn failure ( self ) -> Err < Self > {
778
+ const fn failure ( self ) -> Err < Self > {
779
779
Err :: Failure ( self )
780
780
}
781
781
}
You can’t perform that action at this time.
0 commit comments