File: submit-unrecognized.stderr

package info (click to toggle)
rust-inventory 0.3.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 204 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 566 bytes parent folder | download
1
2
3
4
5
6
7
8
9
error[E0277]: the trait bound `Thing: ErasedNode` is not satisfied
 --> tests/ui/submit-unrecognized.rs:3:1
  |
3 | inventory::submit!(Thing);
  | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Collect` is not implemented for `Thing`
  |
  = note: required for `Thing` to implement `ErasedNode`
  = note: required for the cast from `&Thing` to `&'static (dyn ErasedNode + 'static)`
  = note: this error originates in the macro `$crate::__do_submit` which comes from the expansion of the macro `inventory::submit` (in Nightly builds, run with -Z macro-backtrace for more info)