[−][src]Function rustc_typeck::astconv::split_auto_traits
fn split_auto_traits<'a, 'b, 'gcx, 'tcx>(
tcx: TyCtxt<'a, 'gcx, 'tcx>,
trait_bounds: &'b [PolyTraitRef]
) -> (Vec<DefId>, Vec<&'b PolyTraitRef>)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Divides a list of general trait bounds into two groups: auto traits (e.g. Sync and Send) and the remaining general trait bounds.