diff options
Diffstat (limited to 'tests/ui/coherence/coherence-negative-impls-safe-rpass.rs')
| -rw-r--r-- | tests/ui/coherence/coherence-negative-impls-safe-rpass.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/coherence/coherence-negative-impls-safe-rpass.rs b/tests/ui/coherence/coherence-negative-impls-safe-rpass.rs new file mode 100644 index 00000000000..b87e162aca0 --- /dev/null +++ b/tests/ui/coherence/coherence-negative-impls-safe-rpass.rs @@ -0,0 +1,13 @@ +// run-pass +#![allow(dead_code)] +// pretty-expanded FIXME #23616 + +#![feature(negative_impls)] + +use std::marker::Send; + +struct TestType; + +impl !Send for TestType {} + +fn main() {} |
