Skip to content

Fix certain symbols being incorrectly identified as incomplete boolea… #181

Fix certain symbols being incorrectly identified as incomplete boolea…

Fix certain symbols being incorrectly identified as incomplete boolea… #181

GitHub Actions / clippy failed Jul 11, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
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 failure on line 2335 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

`assert!(false, ..)` should probably be replaced

error: `assert!(false, ..)` should probably be replaced
    --> src/lazy/text/buffer.rs:2331:21
     |
2331 | /                     assert!(
2332 | |                         false,
2333 | |                         "Parser reported an unexpected error for input: {}, Result: {:?}",
2334 | |                         self.input, err
2335 | |                     );
     | |_____________________^
     |
     = help: use `panic!(..)` or `unreachable!(..)`
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants

Check failure on line 2307 in src/lazy/text/buffer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

`assert!(false, ..)` should probably be replaced

error: `assert!(false, ..)` should probably be replaced
    --> src/lazy/text/buffer.rs:2303:21
     |
2303 | /                     assert!(
2304 | |                         false,
2305 | |                         "parser reported an incomplete match rather than a mismatch: {}",
2306 | |                         self.input
2307 | |                     )
     | |_____________________^
     |
     = help: use `panic!(..)` or `unreachable!(..)`
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants
     = note: `-D clippy::assertions-on-constants` implied by `-D warnings`
     = help: to override `-D warnings` add `#[allow(clippy::assertions_on_constants)]`