ty::walk::TypeWalker also visit the types of struct's fields or enum variants? I'm essentially trying to find out if a type or any of the types of the fields/variants implement
For reference, this is for fixing a bug in Clippy's
const_fn lint: https://github.com/rust-lang/rust-clippy/pull/4981#issuecomment-572913738
ty.needs_drop already does this.
thanks! somehow I missed that method and it seems to work :tada: