111 |
impl<A: Actor, F: FnOnce(&mut A, &mut A::Context) + 'static> TimerFuncBox<A> for F {
|
112 |
#[allow(clippy::boxed_local)]
|
113 |
fn call(self: Box<Self>, act: &mut A, ctx: &mut A::Context) {
|
204 |
impl<A: Actor, F: FnMut(&mut A, &mut A::Context) + 'static> IntervalFuncBox<A> for F {
|
205 |
#[allow(clippy::boxed_local)]
|
206 |
fn call(&mut self, act: &mut A, ctx: &mut A::Context) {
|
406 |
{
|
407 |
#[allow(clippy::boxed_local)]
|
408 |
fn call_box(self: Box<Self>) {
|
31 |
{
|
32 |
#[cfg_attr(feature = "cargo-clippy", allow(boxed_local))]
|
33 |
fn call_box(self: Box<Self>) -> Result<()> {
|
24 |
impl StringWrapper for Box<String> {
|
25 |
#[allow(clippy::boxed_local)]
|
26 |
fn into_owned(self) -> String {
|
313 |
#[allow(clippy::boxed_local)] // allow since TaskItem is going to be sent
|
314 |
fn send(&mut self, item: Box<TaskItem>) {
|
273 |
{
|
274 |
#[allow(clippy::boxed_local)]
|
275 |
fn func(
|
312 |
{
|
313 |
#[allow(clippy::boxed_local)]
|
314 |
fn func(
|
409 |
{
|
410 |
#[allow(clippy::boxed_local)]
|
411 |
fn func(
|
272 |
{
|
273 |
#[allow(clippy::boxed_local)]
|
274 |
fn func(
|
144 |
{
|
145 |
#[allow(clippy::boxed_local)]
|
146 |
fn func(
|
165 |
#[allow(unused_variables)]
|
166 |
#[allow(clippy::boxed_local)]
|
167 |
pub trait PeerConnectionHandler {
|
304 |
#[allow(clippy::boxed_local)]
|
305 |
fn rewrite_boxed<R>(boxed_expr: Box<Expr>, rewriter: &mut R) -> Result<Box<Expr>>
|
149 |
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
|
150 |
#[allow(clippy::boxed_local)]
|
151 |
fn finalize(mut self: Box<Self>) -> Box<[u8]> {
|
109 |
/// Create `Coll[Int]` from integer array
|
110 |
#[allow(clippy::boxed_local)]
|
111 |
pub fn from_i32_array(arr: Box<[i32]>) -> Result<Constant, JsValue> {
|
129 |
/// Create `Coll[Long]` from string array
|
130 |
#[allow(clippy::boxed_local)]
|
131 |
pub fn from_i64_str_array(arr: Box<[JsValue]>) -> Result<Constant, JsValue> {
|
155 |
/// Extract `Coll[Long]` as string array
|
156 |
#[allow(clippy::boxed_local)]
|
157 |
pub fn to_i64_str_array(&self) -> Result<Box<[JsValue]>, JsValue> {
|
65 |
/// parse BlockHeader array from JSON (Node API)
|
66 |
#[allow(clippy::boxed_local, clippy::or_fun_call)]
|
67 |
pub fn from_json(json_vals: Box<[JsValue]>) -> Result<BlockHeaders, JsValue> {
|
15 |
/// parse ErgoBox array from json
|
16 |
#[allow(clippy::boxed_local, clippy::or_fun_call)]
|
17 |
pub fn from_boxes_json(json_vals: Box<[JsValue]>) -> Result<ErgoBoxes, JsValue> {
|
334 |
/// Upload a file to the camera
|
335 |
#[allow(clippy::boxed_local)]
|
336 |
pub fn upload_file(&self, folder: &str, filename: &str, data: Box<[u8]>) -> Task<Result<()>> {
|
13 |
#[allow(clippy::boxed_local)]
|
14 |
#[wasm_bindgen]
|
110 |
#[allow(clippy::too_many_arguments)]
|
111 |
#[allow(clippy::boxed_local)]
|
112 |
fn get_single_instance(
|
24 |
fn read(&mut self, path: &str, is_last: bool) -> GenericResult<PartialBrokerStatement>;
|
25 |
#[allow(clippy::boxed_local)]
|
26 |
fn close(self: Box<Self>) -> EmptyResult { Ok(()) }
|
133 |
#[allow(clippy::mut_range_bound)]
|
134 |
#[allow(clippy::boxed_local)]
|
135 |
fn eval_inner_job(
|
41 |
/// enabled)
|
42 |
#[allow(clippy::boxed_local)]
|
43 |
pub fn next<I: State<S>, O: State<S>>(_i: Box<I>, o: O) -> Transition<S>
|
53 |
/// without encountering a "conflicting implementations" compiler error.
|
54 |
#[allow(clippy::boxed_local)]
|
55 |
pub fn next_unchecked<I: State<S>, O: State<S>>(_i: Box<I>, o: O) -> Transition<S> {
|
312 |
// this *does* have to be Boxed...
|
313 |
#[allow(clippy::boxed_local)]
|
314 |
/// Derive a pre-existing key identified by given src_tag, with given
|
242 |
/// Defaults to calling `Self::drop`.
|
243 |
#[allow(clippy::boxed_local)]
|
244 |
fn drop_first(self: Box<Self>) {}
|
248 |
/// Defaults to calling `Self::drop`.
|
249 |
#[allow(clippy::boxed_local)]
|
250 |
fn drop_second(self: Box<Self>) {}
|
298 |
// special for content tag, 'style','script','title','textarea'
|
299 |
#[allow(clippy::boxed_local)]
|
300 |
fn into_text<'b>(self: Box<Self>) -> Result<BoxDynText<'b>, Box<dyn Error>> {
|
32 |
#[allow(clippy::boxed_local)]
|
33 |
pub fn set_main_loop_callback<F>(callback: Box<F>)
|
342 |
{
|
343 |
#[allow(clippy::boxed_local)]
|
344 |
fn call_box(self: Box<Self>) {
|
47 |
#[allow(clippy::boxed_local)]
|
48 |
fn boxed_cl_type_to_boxed_type(ty: Box<CLType>) -> Box<Type> {
|
8 |
#[allow(clippy::boxed_local)]
|
9 |
fn subtree_size<P: IpPrefix>(root: Box<Node<P>>) -> usize {
|
111 |
impl<A: Actor, F: FnOnce(&mut A, &mut A::Context) + 'static> TimerFuncBox<A> for F {
|
112 |
#[allow(clippy::boxed_local)]
|
113 |
fn call(self: Box<Self>, act: &mut A, ctx: &mut A::Context) {
|
204 |
impl<A: Actor, F: FnMut(&mut A, &mut A::Context) + 'static> IntervalFuncBox<A> for F {
|
205 |
#[allow(clippy::boxed_local)]
|
206 |
fn call(&mut self, act: &mut A, ctx: &mut A::Context) {
|
406 |
{
|
407 |
#[allow(clippy::boxed_local)]
|
408 |
fn call_box(self: Box<Self>) {
|
78 |
*/
|
79 |
#[allow(clippy::boxed_local)]
|
80 |
pub fn par_timeout_collect_boxed<'a, T: std::marker::Send>(
|
98 |
#[allow(clippy::boxed_local)]
|
99 |
fn stream_network<S>(stream: Box<S>) -> Result<u64, StreamError>
|
35 |
impl<F: FnOnce()> FnBox for F {
|
36 |
#[cfg_attr(feature = "cargo-clippy", allow(boxed_local))]
|
37 |
fn call_box(self: Box<F>) {
|
189 |
// TODO: these functions should have the locations of the parent expression, not the children
|
190 |
#[allow(clippy::boxed_local)]
|
191 |
fn binary_helper<F>(
|
111 |
impl<A: Actor, F: FnOnce(&mut A, &mut A::Context) + 'static> TimerFuncBox<A> for F {
|
112 |
#[allow(clippy::boxed_local)]
|
113 |
fn call(self: Box<Self>, act: &mut A, ctx: &mut A::Context) {
|
204 |
impl<A: Actor, F: FnMut(&mut A, &mut A::Context) + 'static> IntervalFuncBox<A> for F {
|
205 |
#[allow(clippy::boxed_local)]
|
206 |
fn call(&mut self, act: &mut A, ctx: &mut A::Context) {
|
406 |
{
|
407 |
#[allow(clippy::boxed_local)]
|
408 |
fn call_box(self: Box<Self>) {
|
171 |
#[must_use]
|
172 |
#[allow(clippy::boxed_local)]
|
173 |
fn shutdown(self: Box<Self>, timeout: Duration) -> Shutdown {
|
127 |
/// resources.
|
128 |
#[allow(clippy::boxed_local)]
|
129 |
fn dispose(self: Box<Self>, world: &mut World) {
|
227 |
impl ObjectDeserializer {
|
228 |
#[allow(clippy::boxed_local, clippy::needless_pass_by_value)]
|
229 |
fn new(map: Box<Object>) -> Self {
|
408 |
#[allow(clippy::boxed_local)]
|
409 |
fn hoist_var_decl(&mut self, var_decl: Box<VarDecl>) -> Option<Expr> {
|
275 |
impl Decorators {
|
276 |
#[allow(clippy::boxed_local)]
|
277 |
fn fold_class_inner(&mut self, ident: Ident, mut class: Box<Class>) -> Expr {
|
496 |
/// Returns `(var_decl, init)`.
|
497 |
#[allow(clippy::boxed_local)]
|
498 |
fn handle_enum(
|
827 |
/// Returns `(var_decl, init)`.
|
828 |
#[allow(clippy::boxed_local)]
|
829 |
fn handle_ts_module(
|
395 |
#[allow(clippy::redundant_allocation, clippy::boxed_local)]
|
396 |
fn send_worker(conn: Box<Weak<ConnInner>>) -> i32 {
|
425 |
#[allow(clippy::redundant_allocation, clippy::boxed_local)]
|
426 |
fn recv_worker(conn: Box<Weak<ConnInner>>) -> i32 {
|
367 |
#[allow(clippy::redundant_allocation, clippy::boxed_local)]
|
368 |
fn send_worker(conn: Box<Weak<ConnInner>>) -> i32 {
|
397 |
#[allow(clippy::redundant_allocation, clippy::boxed_local)]
|
398 |
fn recv_worker(conn: Box<Weak<ConnInner>>) -> i32 {
|
154 |
#[allow(clippy::boxed_local)]
|
155 |
fn bincode_to_io_error(err: bincode::Error) -> io::Error {
|
138 |
#[allow(clippy::boxed_local)]
|
139 |
fn bincode_to_io_error(err: bincode::Error) -> io::Error {
|
150 |
// https://github.com/Manishearth/rust-clippy/issues/1478
|
151 |
#[cfg_attr(feature = "cargo-clippy", allow(boxed_local))]
|
152 |
fn lift<F>(self, f: F) -> Box<U>
|
187 |
{
|
188 |
#[allow(clippy::boxed_local)]
|
189 |
fn call(
|
1514 |
/// Creates a new tag set instance using the given list of strings
|
1515 |
#[allow(clippy::boxed_local)]
|
1516 |
#[wasm_bindgen(constructor)]
|
338 |
// special for content tag, 'style','script','title','textarea'
|
339 |
#[allow(clippy::boxed_local)]
|
340 |
fn into_text<'b>(self: Box<Self>) -> Result<BoxDynText<'b>, BoxDynError> {
|
399 |
#[allow(clippy::boxed_local)]
|
400 |
fn to_typed_value_list(ydb_list: ValueList) -> YdbResult<ydb_proto::TypedValue> {
|
238 |
#[allow(clippy::boxed_local)]
|
239 |
fn finish_bundle_assembly(
|
580 |
/// return `true`).
|
581 |
#[allow(clippy::boxed_local)]
|
582 |
fn check_bundle(&mut self, bundle: Box<Bundle>, sighash: [u8; 32]) -> bool {
|
1292 |
// NewClient enum smaller
|
1293 |
#[allow(clippy::boxed_local)]
|
1294 |
pub(crate) fn screen_thread_main(
|
4 |
// Clippy isn't enforced by CI, and know that @alexcrichton isn't a fan :)
|
5 |
#![allow(clippy::boxed_local)] // bug rust-lang-nursery/rust-clippy#1123
|
6 |
#![allow(clippy::cyclomatic_complexity)] // large project
|
16 |
clippy::option_option,
|
17 |
clippy::boxed_local,
|
18 |
clippy::needless_pass_by_value,
|
3 |
clippy::needless_arbitrary_self_type,
|
4 |
clippy::boxed_local,
|
5 |
clippy::redundant_clone
|
6 |
#![warn(unused_lifetimes)]
|
7 |
#![allow(clippy::boxed_local)]
|
8 |
#![forbid(unsafe_code)]
|
17 |
#![allow(clippy::string_lit_as_bytes)]
|
18 |
#![allow(clippy::boxed_local)]
|
19 |
#![allow(clippy::borrowed_box)]
|
1 |
#![allow(clippy::boxed_local)]
|
2 |
#![allow(clippy::needless_lifetimes)]
|
54 |
#![cfg_attr(feature = "cargo-clippy", allow(boxed_local))]
|
55 |
#![cfg_attr(feature = "cargo-clippy", allow(bool_comparison))]
|
46 |
clippy::new_without_default,
|
47 |
clippy::boxed_local
|
48 |
)]
|
2 |
#![feature(box_patterns)]
|
3 |
#![allow(clippy::boxed_local)]
|
4 |
#![allow(clippy::vec_box)]
|
3 |
#![allow(clippy::vec_box)]
|
4 |
#![allow(clippy::boxed_local)]
|
5 |
#![allow(clippy::match_like_matches_macro)]
|
1 |
#![deny(clippy::all)]
|
2 |
#![allow(clippy::boxed_local)]
|
3 |
#![allow(clippy::match_like_matches_macro)]
|
1 |
#![allow(clippy::boxed_local)]
|
2 |
#![allow(clippy::not_unsafe_ptr_arg_deref)]
|
1 |
#![allow(clippy::boxed_local)]
|
17 |
#![allow(
|
18 |
clippy::boxed_local,
|
19 |
clippy::cast_lossless,
|
23 |
//! the `"jsonrpc"` member is omitted from request and response objects.
|
24 |
#![allow(clippy::boxed_local, clippy::or_fun_call)]
|