-// This isn't a perfect fit: `CanonicalVarInfo` slices are always
-// allocated in the global arena, so this `intern_method!` macro is
-// overly general. However, we just return `false` for the code that checks
-// whether they belong in the thread-local arena, so no harm done, and
-// seems better than open-coding the rest.
-intern_method! {
- 'tcx,
- canonical_var_infos: _intern_canonical_var_infos(
- &[CanonicalVarInfo],
- |a, v| List::from_arena(a, v),
- Deref::deref
- ) -> List<CanonicalVarInfo>
-}
-