blob: 22da414650f852cf249a4cfe2be76be515ee1154 [file] [log] [blame]
//@ run-pass
#![allow(unused_imports)]
// Test transitive analysis for associated types. Collected types
// should be normalized and new obligations generated.
use std::borrow::{ToOwned, Cow};
fn assert_send<T: Send>(_: T) {}
fn main() {
assert_send(Cow::Borrowed("foo"));
}