Debian Codegraph @

gcc/testsuite/rust/compile/additional-trait-bounds2.rs

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