Skip to content

Update to regex-automata v0.4 (#5) #6

Update to regex-automata v0.4 (#5)

Update to regex-automata v0.4 (#5) #6

GitHub Actions / clippy succeeded Jul 1, 2024 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 121 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

warning: the `Err`-variant returned from this function is very large
   --> src/lib.rs:121:43
    |
121 |     pub fn new_anchored(pattern: &str) -> Result<Self, BuildError> {
    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 128 bytes
    |
    = help: try reducing the size of `regex_automata::dfa::dense::BuildError`, for example by boxing large elements or replacing it with `Box<regex_automata::dfa::dense::BuildError>`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err

Check warning on line 84 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

warning: the `Err`-variant returned from this function is very large
  --> src/lib.rs:84:34
   |
84 |     pub fn new(pattern: &str) -> Result<Self, BuildError> {
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 128 bytes
   |
   = help: try reducing the size of `regex_automata::dfa::dense::BuildError`, for example by boxing large elements or replacing it with `Box<regex_automata::dfa::dense::BuildError>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
   = note: `#[warn(clippy::result_large_err)]` on by default