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