fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `panic` should not be present in production code 2 --> $DIR/panicking_macros.rs:23:5 3 | 4LL | panic!(); 5 | ^^^^^^^^ 6 | 7 = note: `-D clippy::panic` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::panic)]` 9 10error: `panic` should not be present in production code 11 --> $DIR/panicking_macros.rs:26:5 12 | 13LL | panic!("message"); 14 | ^^^^^^^^^^^^^^^^^ 15 16error: `panic` should not be present in production code 17 --> $DIR/panicking_macros.rs:28:5 18 | 19LL | panic!("{} {}", "panic with", "multiple arguments"); 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 22error: `todo` should not be present in production code 23 --> $DIR/panicking_macros.rs:35:5 24 | 25LL | todo!(); 26 | ^^^^^^^ 27 | 28 = note: `-D clippy::todo` implied by `-D warnings` 29 = help: to override `-D warnings` add `#[allow(clippy::todo)]` 30 31error: `todo` should not be present in production code 32 --> $DIR/panicking_macros.rs:38:5 33 | 34LL | todo!("message"); 35 | ^^^^^^^^^^^^^^^^ 36 37error: `todo` should not be present in production code 38 --> $DIR/panicking_macros.rs:40:5 39 | 40LL | todo!("{} {}", "panic with", "multiple arguments"); 41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 42 43error: `unimplemented` should not be present in production code 44 --> $DIR/panicking_macros.rs:47:5 45 | 46LL | unimplemented!(); 47 | ^^^^^^^^^^^^^^^^ 48 | 49 = note: `-D clippy::unimplemented` implied by `-D warnings` 50 = help: to override `-D warnings` add `#[allow(clippy::unimplemented)]` 51 52error: `unimplemented` should not be present in production code 53 --> $DIR/panicking_macros.rs:50:5 54 | 55LL | unimplemented!("message"); 56 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 57 58error: `unimplemented` should not be present in production code 59 --> $DIR/panicking_macros.rs:52:5 60 | 61LL | unimplemented!("{} {}", "panic with", "multiple arguments"); 62 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 63 64error: usage of the `unreachable!` macro 65 --> $DIR/panicking_macros.rs:59:5 66 | 67LL | unreachable!(); 68 | ^^^^^^^^^^^^^^ 69 | 70 = note: `-D clippy::unreachable` implied by `-D warnings` 71 = help: to override `-D warnings` add `#[allow(clippy::unreachable)]` 72 73error: usage of the `unreachable!` macro 74 --> $DIR/panicking_macros.rs:62:5 75 | 76LL | unreachable!("message"); 77 | ^^^^^^^^^^^^^^^^^^^^^^^ 78 79error: usage of the `unreachable!` macro 80 --> $DIR/panicking_macros.rs:64:5 81 | 82LL | unreachable!("{} {}", "panic with", "multiple arguments"); 83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 84 85error: `panic` should not be present in production code 86 --> $DIR/panicking_macros.rs:71:5 87 | 88LL | panic!(); 89 | ^^^^^^^^ 90 91error: `todo` should not be present in production code 92 --> $DIR/panicking_macros.rs:73:5 93 | 94LL | todo!(); 95 | ^^^^^^^ 96 97error: `unimplemented` should not be present in production code 98 --> $DIR/panicking_macros.rs:75:5 99 | 100LL | unimplemented!(); 101 | ^^^^^^^^^^^^^^^^ 102 103error: usage of the `unreachable!` macro 104 --> $DIR/panicking_macros.rs:77:5 105 | 106LL | unreachable!(); 107 | ^^^^^^^^^^^^^^ 108 109error: aborting due to 16 previous errors 110