2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(unused_imports)]
|
2015-02-27 01:13:31 +01:00
|
|
|
// Test transitive analysis for associated types. Collected types
|
|
|
|
// should be normalized and new obligations generated.
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-02-27 01:13:31 +01:00
|
|
|
use std::borrow::{ToOwned, Cow};
|
|
|
|
|
|
|
|
fn assert_send<T: Send>(_: T) {}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
assert_send(Cow::Borrowed("foo"));
|
|
|
|
}
|