-
Notifications
You must be signed in to change notification settings - Fork 4
/
0027-libsbc.rs
33 lines (27 loc) · 691 Bytes
/
0027-libsbc.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*!
```rudra-poc
[target]
crate = "libsbc"
version = "0.1.4"
[[target.peer]]
crate = "static_assertions"
version = "1.1.0"
[report]
issue_url = "https://github.com/mvertescher/libsbc-rs/issues/4"
issue_date = 2020-11-10
rustsec_url = "https://github.com/RustSec/advisory-db/pull/679"
rustsec_id = "RUSTSEC-2020-0120"
[[bugs]]
analyzer = "SendSyncVariance"
bug_class = "SendSyncVariance"
rudra_report_locations = ["src/lib.rs:34:1: 38:2"]
```
!*/
#![forbid(unsafe_code)]
use libsbc::Decoder;
use static_assertions::{assert_impl_all, assert_not_impl_all};
use std::io;
fn main() {
assert_not_impl_all!(io::StdinLock: Send);
assert_not_impl_all!(Decoder<io::StdinLock> : Send);
}