Skip to content
Myr

Ignore needless_raw_string_hashes clippy lint

Before adoption: this commit came in with the history the project adopted, so no landing records it.

warning: unnecessary hashes around raw string literal --> build.rs:17:21 | 17 | const PROBE: &str = r#" | _____________________^ 18 | | #![feature(error_generic_member_access)] 19 | | 20 | | use std::backtrace::Backtrace; ... | 45 | | const _: fn(&dyn Error) -> Option<&Backtrace> = |err| error::request_ref::<Backtrace>(err); 46 | | "#; | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes = note: `-W clippy::needless-raw-string-hashes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_raw_string_hashes)]` help: remove all the hashes around the literal | 17 ~ const PROBE: &str = r" 18 | #![feature(error_generic_member_access)] ... 45 | const _: fn(&dyn Error) -> Option<&Backtrace> = |err| error::request_ref::<Backtrace>(err); 46 ~ "; |

authored by David Tolnay · committed by David Tolnay · parent 4fa56b6 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:build.rs+1 added-1 removed
1#![allow(clippy::option_if_let_else)]1#![allow(clippy::needless_raw_string_hashes, clippy::option_if_let_else)]23use std::env;4use std::fs;5use std::path::Path;
126 unmodified lines