110 |
#[allow(clippy::box_default)]
|
111 |
fn propagator_from_string(
|
59 |
} else {
|
60 |
#[allow(clippy::box_default)]
|
61 |
Box::leak(Box::new(rustc_driver::TimePassesCallbacks::default()))
|
1207 |
pub(crate) fn normal_init(&mut self, args: &[DataValue]) -> Result<()> {
|
1208 |
#[allow(clippy::box_default)]
|
1209 |
self.normal_op.replace(match self.name {
|
125 |
#[allow(clippy::box_default)]
|
126 |
pub fn with_addr(addr: String) -> Self {
|
91 |
Some(ConfigFileType::ToolVersions) => Ok(Box::new(ToolVersions::from_file(path)?)),
|
92 |
#[allow(clippy::box_default)]
|
93 |
_ => Ok(Box::new(RTXFile::default())),
|
91 |
Some(ConfigFileType::ToolVersions) => Ok(Box::new(ToolVersions::from_file(path)?)),
|
92 |
#[allow(clippy::box_default)]
|
93 |
_ => Ok(Box::new(RTXFile::default())),
|
21 |
Box::new(StringIn::with_str("ABCDE\nefgh\n")),
|
22 |
#[allow(clippy::box_default)]
|
23 |
Box::new(StringOut::default()),
|
24 |
#[allow(clippy::box_default)]
|
25 |
Box::new(StringErr::default()),
|
151 |
fn default() -> Self {
|
152 |
#[allow(clippy::box_default)]
|
153 |
Self {
|
1 |
#![allow(clippy::box_default)]
|
23 |
)]
|
24 |
#![allow(clippy::box_default)] // Required since otherwise we need very elaborate conversions
|
25 |
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
174 |
#![allow(
|
175 |
clippy::box_default,
|
176 |
clippy::cast_lossless,
|
1 |
#![allow(clippy::box_default)]
|