]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/empty_span.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / ui / codemap_tests / empty_span.rs
1 #![feature(negative_impls)]
2 fn main() {
3     struct Foo;
4
5     impl !Sync for Foo {}
6
7     unsafe impl Send for &'static Foo { } //~ ERROR cross-crate traits with a default impl
8 }