fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0452]: malformed lint attribute input 2 --> $DIR/reasons-erroneous.rs:3:58 3 | 4LL | #![warn(absolute_paths_not_starting_with_crate, reason = 0)] 5 | ^ reason must be a string literal 6 7error[E0452]: malformed lint attribute input 8 --> $DIR/reasons-erroneous.rs:6:40 9 | 10LL | #![warn(anonymous_parameters, reason = b"consider these, for we have condemned them")] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reason must be a string literal 12 13error[E0452]: malformed lint attribute input 14 --> $DIR/reasons-erroneous.rs:9:29 15 | 16LL | #![warn(bare_trait_objects, reasons = "leaders to no sure land, guides their bearings lost")] 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument 18 19error[E0452]: malformed lint attribute input 20 --> $DIR/reasons-erroneous.rs:12:23 21 | 22LL | #![warn(box_pointers, blerp = "or in league with robbers have reversed the signposts")] 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument 24 25error[E0452]: malformed lint attribute input 26 --> $DIR/reasons-erroneous.rs:15:36 27 | 28LL | #![warn(elided_lifetimes_in_paths, reason("disrespectful to ancestors", "irresponsible to heirs"))] 29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bad attribute argument 30 31error[E0452]: malformed lint attribute input 32 --> $DIR/reasons-erroneous.rs:18:44 33 | 34LL | #![warn(ellipsis_inclusive_range_patterns, reason = "born barren", reason = "a freak growth")] 35 | ^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last 36 37error[E0452]: malformed lint attribute input 38 --> $DIR/reasons-erroneous.rs:21:25 39 | 40LL | #![warn(keyword_idents, reason = "root in rubble", macro_use_extern_crate)] 41 | ^^^^^^^^^^^^^^^^^^^^^^^^^ reason in lint attribute must come last 42 43warning: unknown lint: `reason` 44 --> $DIR/reasons-erroneous.rs:24:39 45 | 46LL | #![warn(missing_copy_implementations, reason)] 47 | ^^^^^^ 48 | 49 = note: `#[warn(unknown_lints)]` on by default 50 51error: aborting due to 7 previous errors 52 53For more information about this error, try `rustc --explain E0452`.