Guest User

Untitled

a guest
Feb 14th, 2020
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. error[E0277]: the trait bound `&mut hyperscan::RawScratch: hyperscan::Scratch` is not satisfied
  2. --> grep-hyperscan/src/matcher.rs:143:21
  3. |
  4. 143 | self.db.scan_mut_ok(subject, hyperscan::HS_MODE_SOM_HORIZON_LARGE, &mut self.scratchpad().get_mut(),
  5. | ^^^^^^^^^^^ the trait `hyperscan::Scratch` is not implemented for `&mut hyperscan::RawScratch`
  6. |
  7. = help: the following implementations were found:
  8. <hyperscan::RawScratch as hyperscan::Scratch>
  9.  
  10. error: aborting due to previous error
RAW Paste Data