]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0198.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0198.rs
1 #![feature(negative_impls)]
2
3 struct Foo;
4
5 unsafe impl !Send for Foo { } //~ ERROR E0198
6
7 fn main() {
8 }