error[E0277]: the trait bound `NotScan: shredder::Scan` is not satisfied --> $DIR/non_scan.rs:7:10 | 7 | #[derive(Scan)] | ^^^^ the trait `shredder::Scan` is not implemented for `NotScan` | = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `NotScan: GcDrop` is not satisfied --> $DIR/non_scan.rs:7:10 | 7 | #[derive(Scan)] | ^^^^ the trait `GcDrop` is not implemented for `NotScan` | ::: $WORKSPACE/src/plumbing.rs | | pub fn check_gc_drop(_: &T) {} | ------ required by this bound in `check_gc_drop` | = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)