summaryrefslogtreecommitdiffstats
path: root/tests/ui/codemap_tests/empty_span.rs
blob: 7753e2eceb543774d69feeca6981d26d22d8c9ef (plain)
1
2
3
4
5
6
7
8
#![feature(negative_impls)]
fn main() {
    struct Foo;

    impl !Sync for Foo {}

    unsafe impl Send for &'static Foo { } //~ ERROR cross-crate traits with a default impl
}