fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: multiple `deprecated` attributes 2 --> $DIR/deprecation-sanity.rs:27:1 3 | 4LL | #[deprecated(since = "a", note = "b")] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute 6 | 7note: attribute also specified here 8 --> $DIR/deprecation-sanity.rs:26:1 9 | 10LL | #[deprecated(since = "a", note = "b")] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error[E0541]: unknown meta item 'reason' 14 --> $DIR/deprecation-sanity.rs:4:43 15 | 16LL | #[deprecated(since = "a", note = "a", reason)] 17 | ^^^^^^ expected one of `since`, `note` 18 19error[E0539]: incorrect meta item 20 --> $DIR/deprecation-sanity.rs:7:31 21 | 22LL | #[deprecated(since = "a", note)] 23 | ^^^^ 24 25error[E0539]: incorrect meta item 26 --> $DIR/deprecation-sanity.rs:10:18 27 | 28LL | #[deprecated(since, note = "a")] 29 | ^^^^^ 30 31error[E0539]: incorrect meta item 32 --> $DIR/deprecation-sanity.rs:13:31 33 | 34LL | #[deprecated(since = "a", note(b))] 35 | ^^^^^^^ 36 37error[E0539]: incorrect meta item 38 --> $DIR/deprecation-sanity.rs:16:18 39 | 40LL | #[deprecated(since(b), note = "a")] 41 | ^^^^^^^^ 42 43error[E0565]: literal in `deprecated` value must be a string 44 --> $DIR/deprecation-sanity.rs:19:25 45 | 46LL | #[deprecated(note = b"test")] 47 | -^^^^^^ 48 | | 49 | help: consider removing the prefix 50 51error[E0565]: item in `deprecated` must be a key/value pair 52 --> $DIR/deprecation-sanity.rs:22:18 53 | 54LL | #[deprecated("test")] 55 | ^^^^^^ 56 57error[E0538]: multiple 'since' items 58 --> $DIR/deprecation-sanity.rs:30:27 59 | 60LL | #[deprecated(since = "a", since = "b", note = "c")] 61 | ^^^^^^^^^^^ 62 63error: this `#[deprecated]` annotation has no effect 64 --> $DIR/deprecation-sanity.rs:35:1 65 | 66LL | #[deprecated = "hello"] 67 | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute 68 | 69 = note: `#[deny(useless_deprecated)]` on by default 70 71error: aborting due to 10 previous errors 72 73Some errors have detailed explanations: E0538, E0539, E0541, E0565. 74For more information about an error, try `rustc --explain E0538`.