]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/empty_span.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[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 }