//@ aux-build:send_sync.rs #![feature(trait_alias)] extern crate send_sync; use std::rc::Rc; use send_sync::SendSync; fn use_alias() {} fn main() { use_alias::(); use_alias::>(); //~^ ERROR the trait bound `Rc: SendSync` is not satisfied [E0277] //~| ERROR the trait bound `Rc: SendSync` is not satisfied [E0277] }