| 1 |
// { dg-additional-options "-frust-name-resolution-2.0" } |
| 2 |
|
| 3 |
#![feature(optin_builtin_traits)] |
| 4 |
|
| 5 |
pub unsafe auto trait Send {} |
| 6 |
#[lang = "sync"] |
| 7 |
pub unsafe auto trait Sync {} |
| 8 |
|
| 9 |
trait A {} |
| 10 |
|
| 11 |
impl dyn A + Send + Sync + NonExist {} // { dg-error "could not resolve type path .NonExist." } |