☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
additional-trait-bounds2.rs
☽
☼
gcc/testsuite/rust/compile/additional-trait-bounds2.rs
code
plain
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." }