Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error[E0277]: the trait bound `&mut hyperscan::RawScratch: hyperscan::Scratch` is not satisfied
- --> grep-hyperscan/src/matcher.rs:143:21
- |
- 143 | self.db.scan_mut_ok(subject, hyperscan::HS_MODE_SOM_HORIZON_LARGE, &mut self.scratchpad().get_mut(),
- | ^^^^^^^^^^^ the trait `hyperscan::Scratch` is not implemented for `&mut hyperscan::RawScratch`
- |
- = help: the following implementations were found:
- <hyperscan::RawScratch as hyperscan::Scratch>
- error: aborting due to previous error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement