2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-04-18 00:12:20 -05:00
|
|
|
#![feature(optin_builtin_traits)]
|
2014-12-28 16:33:18 -06:00
|
|
|
|
|
|
|
struct TestType;
|
|
|
|
|
|
|
|
impl TestType {}
|
|
|
|
|
2015-04-18 00:12:20 -05:00
|
|
|
trait TestTrait {}
|
2014-12-28 16:33:18 -06:00
|
|
|
|
2015-01-11 06:14:39 -06:00
|
|
|
impl !Send for TestType {}
|
2014-12-28 16:33:18 -06:00
|
|
|
|
2015-02-12 09:29:52 -06:00
|
|
|
struct TestType2<T>(T);
|
2014-12-28 16:33:18 -06:00
|
|
|
|
|
|
|
impl<T> TestType2<T> {}
|
|
|
|
|
2015-01-11 06:14:39 -06:00
|
|
|
impl<T> !Send for TestType2<T> {}
|
2014-12-28 16:33:18 -06:00
|
|
|
|
|
|
|
fn main() {}
|