10 |
#[allow(clippy::print_stdout, clippy::print_stderr)]
|
11 |
impl Log for CliLog {
|
83 |
#[inline]
|
84 |
#[allow(clippy::print_stderr)]
|
85 |
#[allow(clippy::print_stdout)]
|
107 |
/// Output a message, then invoke the specified exit routine.
|
108 |
#[allow(clippy::print_stderr)]
|
109 |
fn _die(msg: &str, exit: fn(i32) -> !) -> ! {
|
114 |
/// Output a message containing an error description, then invoke the specified exit routine.
|
115 |
#[allow(clippy::print_stderr)]
|
116 |
fn _die_perror(msg: &str, err: impl Display, exit: fn(i32) -> !) -> ! {
|
121 |
#[allow(clippy::print_stderr)]
|
122 |
/// Create an `Auth` object from a device code flow
|
79 |
// TODO use the termination trait once rust-lang/rust#43301 is stable
|
80 |
#[allow(clippy::exit, clippy::print_stderr)]
|
81 |
#[cfg(not(tarpaulin_include))]
|
392 |
#[test]
|
393 |
#[allow(clippy::print_stderr)]
|
394 |
fn initial_commit() {
|
409 |
#[test]
|
410 |
#[allow(clippy::print_stderr)]
|
411 |
fn history_length_calc() {
|
459 |
#[test]
|
460 |
#[allow(clippy::print_stderr)]
|
461 |
fn history_length_calc_path() {
|
600 |
#[test]
|
601 |
#[allow(clippy::print_stderr)]
|
602 |
fn folding() {
|
188 |
#[allow(clippy::exit, clippy::print_stderr)]
|
189 |
fn main() {
|
91 |
match winapi::um::errhandlingapi::GetLastError() {
|
92 |
#[allow(clippy::print_stderr)]
|
93 |
winapi::shared::winerror::ERROR_IO_PENDING => {
|
250 |
#[cfg(test)]
|
251 |
#[allow(clippy::unwrap_used, clippy::print_stderr)]
|
252 |
mod test {
|
43 |
/// Does not return. Return type is any type R, for convenience with eg `unwrap_or_else`.
|
44 |
#[allow(clippy::print_stderr)] // this is the point of this function
|
45 |
pub fn report_and_exit<E, R>(e: E) -> R
|
550 |
let s: String = c_vec.into_iter().collect();
|
551 |
#[allow(clippy::print_stderr)]
|
552 |
let b = match s.parse::<B64>() {
|
409 |
#![allow(clippy::dbg_macro)]
|
410 |
#![allow(clippy::print_stderr)]
|
411 |
#![allow(clippy::print_stdout)]
|
544 |
#[test]
|
545 |
#[allow(clippy::print_stderr)]
|
546 |
fn timeout_distribution() {
|
167 |
Ok(c) => Self::Custom(c),
|
168 |
#[allow(clippy::print_stderr)] // necessary error surfacing
|
169 |
Err(e) => {
|
91 |
/// If the fallback message or webhook content is somehow invalid
|
92 |
#[allow(clippy::unwrap_used, unused_must_use, clippy::print_stderr)]
|
93 |
pub async fn handle(&self, http: &Client, error: impl Display + Send) {
|
105 |
/// Prefer this if you've only set [`Self::file`]
|
106 |
#[allow(clippy::print_stderr)]
|
107 |
pub fn handle_sync(&self, error: impl Display) {
|
234 |
#![allow(clippy::dbg_macro)]
|
235 |
#![allow(clippy::print_stderr)]
|
236 |
#![allow(clippy::print_stdout)]
|
40 |
// Overrides specific to this crate:
|
41 |
#![allow(clippy::print_stderr)]
|
42 |
#![allow(clippy::print_stdout)]
|
4 |
#![allow(clippy::dbg_macro)]
|
5 |
#![allow(clippy::print_stderr)]
|
6 |
#![allow(clippy::print_stdout)]
|
4 |
#![allow(clippy::dbg_macro)]
|
5 |
#![allow(clippy::print_stderr)]
|
6 |
#![allow(clippy::print_stdout)]
|
4 |
#![allow(clippy::dbg_macro)]
|
5 |
#![allow(clippy::print_stderr)]
|
6 |
#![allow(clippy::print_stdout)]
|
4 |
#![allow(clippy::dbg_macro)]
|
5 |
#![allow(clippy::print_stderr)]
|
6 |
#![allow(clippy::print_stdout)]
|
4 |
#![allow(clippy::dbg_macro)]
|
5 |
#![allow(clippy::print_stderr)]
|
6 |
#![allow(clippy::print_stdout)]
|
44 |
#![allow(clippy::print_stdout)]
|
45 |
#![allow(clippy::print_stderr)]
|
46 |
#![allow(clippy::implicit_return)]
|
26 |
clippy::print_stdout,
|
27 |
clippy::print_stderr,
|
28 |
clippy::exit,
|
55 |
clippy::print_stdout,
|
56 |
clippy::print_stderr,
|
57 |
clippy::exit,
|
14 |
clippy::print_stdout,
|
15 |
clippy::print_stderr,
|
16 |
clippy::exit,
|
537 |
#![allow(clippy::dbg_macro)]
|
538 |
#![allow(clippy::print_stderr)]
|
539 |
#![allow(clippy::print_stdout)]
|
591 |
#![allow(clippy::dbg_macro)]
|
592 |
#![allow(clippy::print_stderr)]
|
593 |
#![allow(clippy::print_stdout)]
|
61 |
// be used by tests, where this is the preferred means of communication with the user.
|
62 |
#![allow(clippy::print_stdout, clippy::print_stderr)]
|
40 |
#![allow(clippy::dbg_macro)]
|
41 |
#![allow(clippy::print_stderr)]
|
42 |
#![allow(clippy::print_stdout)]
|
6 |
#![allow(clippy::dbg_macro)]
|
7 |
#![allow(clippy::print_stderr)]
|
8 |
#![allow(clippy::print_stdout)]
|
532 |
#![allow(clippy::dbg_macro)]
|
533 |
#![allow(clippy::print_stderr)]
|
534 |
#![allow(clippy::print_stdout)]
|
134 |
#![allow(clippy::dbg_macro)]
|
135 |
#![allow(clippy::print_stderr)]
|
136 |
#![allow(clippy::print_stdout)]
|
84 |
#![allow(clippy::dbg_macro)]
|
85 |
#![allow(clippy::print_stderr)]
|
86 |
#![allow(clippy::print_stdout)]
|
743 |
#![allow(clippy::dbg_macro)]
|
744 |
#![allow(clippy::print_stderr)]
|
745 |
#![allow(clippy::print_stdout)]
|
391 |
#![allow(clippy::dbg_macro)]
|
392 |
#![allow(clippy::print_stderr)]
|
393 |
#![allow(clippy::print_stdout)]
|
338 |
#![allow(clippy::dbg_macro)]
|
339 |
#![allow(clippy::print_stderr)]
|
340 |
#![allow(clippy::print_stdout)]
|
406 |
#![allow(clippy::dbg_macro)]
|
407 |
#![allow(clippy::print_stderr)]
|
408 |
#![allow(clippy::print_stdout)]
|
175 |
#![allow(clippy::dbg_macro)]
|
176 |
#![allow(clippy::print_stderr)]
|
177 |
#![allow(clippy::print_stdout)]
|
6 |
#![allow(clippy::dbg_macro)]
|
7 |
#![allow(clippy::print_stderr)]
|
8 |
#![allow(clippy::print_stdout)]
|
253 |
#![allow(clippy::dbg_macro)]
|
254 |
#![allow(clippy::print_stderr)]
|
255 |
#![allow(clippy::print_stdout)]
|
609 |
#![allow(clippy::dbg_macro)]
|
610 |
#![allow(clippy::print_stderr)]
|
611 |
#![allow(clippy::print_stdout)]
|
39 |
#![allow(clippy::dbg_macro)]
|
40 |
#![allow(clippy::print_stderr)]
|
41 |
#![allow(clippy::print_stdout)]
|
236 |
#![allow(clippy::dbg_macro)]
|
237 |
#![allow(clippy::print_stderr)]
|
238 |
#![allow(clippy::print_stdout)]
|
142 |
#![allow(clippy::dbg_macro)]
|
143 |
#![allow(clippy::print_stderr)]
|
144 |
#![allow(clippy::print_stdout)]
|
782 |
#![allow(clippy::dbg_macro)]
|
783 |
#![allow(clippy::print_stderr)]
|
784 |
#![allow(clippy::print_stdout)]
|
310 |
#![allow(clippy::dbg_macro)]
|
311 |
#![allow(clippy::print_stderr)]
|
312 |
#![allow(clippy::print_stdout)]
|
90 |
#![allow(clippy::dbg_macro)]
|
91 |
#![allow(clippy::print_stderr)]
|
92 |
#![allow(clippy::print_stdout)]
|