29 |
#[allow(clippy::borrowed_box)]
|
30 |
pub async fn authenticate(
|
12 |
pub trait AuthenticationProvider: AuthenticationProviderClone {
|
13 |
#[allow(clippy::borrowed_box)]
|
14 |
async fn authenticate(
|
31 |
impl AuthenticationProvider for BasicAuthenticationProvider {
|
32 |
#[allow(clippy::borrowed_box)]
|
33 |
async fn authenticate(
|
29 |
impl AuthenticationProvider for JwtAuthenticationProvider {
|
30 |
#[allow(clippy::borrowed_box)]
|
31 |
async fn authenticate(
|
15 |
pub trait JwtUserDetailsService: Downcast + JwtUserDetailsServiceClone {
|
16 |
#[allow(clippy::borrowed_box)]
|
17 |
async fn find_user(&self, token: &Box<dyn Claims>) -> Option<Box<dyn UserDetails>>;
|
20 |
#[allow(clippy::borrowed_box)]
|
21 |
fn box_raw<T>(ptr: &mut Box<T>) -> *mut c_void {
|
19 |
#[allow(clippy::borrowed_box)]
|
20 |
fn box_raw<T>(ptr: &mut Box<T>) -> *mut c_void {
|
81 |
/// Send self custom status once
|
82 |
#[allow(clippy::borrowed_box)] // Box needed beacause we can get two different types.
|
83 |
pub fn _send(&self, session: &Box<dyn BaseSession>) -> Result<ureq::Response, ureq::Error> {
|
6 |
#[allow(clippy::borrowed_box)] // QRMask is a trait, unsure how to solve
|
7 |
pub fn blocks(data: &QRData, level: &ECLevel, mask: &Box<QRMask>) -> Result<Vec<Vec<u8>>, QRError> {
|
24 |
// ```
|
25 |
#[allow(clippy::borrowed_box)]
|
26 |
pub(crate) fn serialize_flow_node<S>(
|
229 |
pub fn start<H: Handler + 'static + Sync>(options: Config, handler: H) -> io::Result<Server> {
|
230 |
#[allow(clippy::borrowed_box)]
|
231 |
fn internal_handler(
|
84 |
#[allow(clippy::borrowed_box)]
|
85 |
fn get_exact_command(&self, line: &str) -> Option<&Box<dyn Cmd>> {
|
120 |
#[allow(clippy::borrowed_box)]
|
121 |
fn gen_by_length<'b>(
|
208 |
#[allow(clippy::borrowed_box)]
|
209 |
fn gen_words<'b>(&self, out: &mut Box<dyn Write + 'b>) -> Result<(), std::io::Error> {
|
50 |
#[allow(clippy::borrowed_box)]
|
51 |
/// Creates the flattened device tree for this aarch64 microVM.
|
217 |
#[allow(clippy::borrowed_box)]
|
218 |
pub fn accelerator(&self) -> &Box<dyn Plugin> {
|
222 |
#[allow(clippy::borrowed_box)]
|
223 |
pub fn accelerator_mut(&mut self) -> &mut Box<dyn Plugin> {
|
63 |
/// [`Arc`]: std::sync::Arc
|
64 |
#[allow(clippy::borrowed_box)]
|
65 |
fn clone(self: &Box<Self>) -> Box<Self> {
|
31 |
#[allow(clippy::borrowed_box)]
|
32 |
pub fn guess_format<'a>(
|
26 |
#[allow(clippy::borrowed_box)]
|
27 |
pub fn get(&self, name: &TxFunctionName) -> Option<&Box<dyn BuiltinFunction>> {
|
31 |
let thin = Thin::from(Why { inner: Box::new(0) });
|
32 |
#[allow(clippy::borrowed_box)]
|
33 |
let _: &Box<u8> = thin.deref(); // use-after-free; cannot deref to value that does not exist
|
102 |
/// and treat them as if the filter would also apply to those.
|
103 |
#[allow(clippy::borrowed_box)]
|
104 |
fn apply_custom_filter(
|
164 |
#[allow(clippy::borrowed_box)]
|
165 |
fn run_operation_first(
|
225 |
/// Create a new instance
|
226 |
#[allow(clippy::borrowed_box)] // Being Boxed is really important, let's keep the Box<...> in the function signature to make the intent clearer (see https://github.com/n4r1b/ferrisetw/issues/72)
|
227 |
pub fn create(callback_data: &'callbackdata Box<Arc<CallbackData>>, mut wide_logger_name: U16CString, callback: unsafe extern "system" fn(*mut Etw::EVENT_RECORD)) -> Self {
|
194 |
/// Microsoft calls this "opening" the trace (and this calls `OpenTraceW`)
|
195 |
#[allow(clippy::borrowed_box)] // Being Boxed is really important, let's keep the Box<...> in the function signature to make the intent clearer
|
196 |
pub(crate) fn open_trace(trace_name: U16CString, callback_data: &Box<Arc<CallbackData>>) -> EvntraceNativeResult<TraceHandle> {
|
351 |
/// On error, this returns an `Err`
|
352 |
#[allow(clippy::borrowed_box)] // Being Boxed is really important, let's keep the Box<...> in the function signature to make the intent clearer
|
353 |
pub(crate) fn close_trace(trace_handle: TraceHandle, callback_data: &Box<Arc<CallbackData>>) -> EvntraceNativeResult<bool> {
|
679 |
#[allow(clippy::borrowed_box)]
|
680 |
fn rename_prop_(wid: &Box<dyn WidgetExt>, prop: &str, new_name: &str) {
|
690 |
#[allow(clippy::borrowed_box)]
|
691 |
fn get_prop_(wid: &Box<dyn WidgetExt>, prop: &str) -> Option<String> {
|
731 |
#[allow(clippy::borrowed_box)]
|
732 |
fn set_prop_(wid: &Box<dyn WidgetExt>, prop: &str, value: &str) -> Result<(), FltkFormError> {
|
776 |
#[allow(clippy::borrowed_box)]
|
777 |
fn get_props_(wid: &Box<dyn WidgetExt>) -> HashMap<String, String> {
|
791 |
#[allow(clippy::borrowed_box)]
|
792 |
fn get_widget_(wid: &Box<dyn WidgetExt>, prop: &str) -> Option<Box<dyn WidgetExt>> {
|
27 |
#[cfg(test)]
|
28 |
#[allow(clippy::borrowed_box)]
|
29 |
pub(crate) fn transform(&self) -> &Box<dyn DowncastableTransform> {
|
490 |
/// Process a chunk of paired end records in parallel.
|
491 |
#[allow(clippy::borrowed_box)] // FIXME: remove me later and solve
|
492 |
fn process_paired_reads(
|
396 |
/// root. Otherwise the closest key to the specified key will be at the root.
|
397 |
#[allow(clippy::borrowed_box)]
|
398 |
fn splay<K, V, C>(key: &K, node: &mut Box<Node<K, V>>, comparator: &C)
|
34 |
#[allow(clippy::borrowed_box, clippy::panic)]
|
35 |
fn get_module(&self, state: State) -> &Box<dyn Module + 'modules> {
|
37 |
#[allow(clippy::borrowed_box)]
|
38 |
fn error_kind(e: &Box<dyn StdError>) -> &'static str {
|
261 |
#[allow(clippy::borrowed_box)]
|
262 |
fn parse_property_slice<'a>(
|
161 |
#[allow(clippy::borrowed_box)]
|
162 |
pub fn fetch_engine(&self) -> &Box<dyn FetchEngine> {
|
166 |
#[allow(clippy::borrowed_box)]
|
167 |
pub fn fetch_engine_mut(&mut self) -> &mut Box<dyn FetchEngine> {
|
6 |
stack: Vec<NodeStackIter<'a, V>>,
|
7 |
#[allow(clippy::borrowed_box)]
|
8 |
curr: Option<&'a Box<Node<V>>>,
|
55 |
stack: Vec<NodeStackIterMut<'a, V>>,
|
56 |
#[allow(clippy::borrowed_box)]
|
57 |
curr: Option<&'a mut Box<Node<V>>>,
|
461 |
#[allow(
|
462 |
clippy::borrowed_box,
|
463 |
clippy::too_many_lines,
|
131 |
/// ~~~
|
132 |
#[allow(clippy::borrowed_box)]
|
133 |
pub fn job_card_id(&self) -> Option<&str> {
|
157 |
/// ~~~
|
158 |
#[allow(clippy::borrowed_box)]
|
159 |
pub fn mold_id(&self) -> Option<&str> {
|
53 |
#[allow(clippy::borrowed_box)]
|
54 |
fn find_element(&self, name: &str) -> Option<&Box<Element>> {
|
76 |
}
|
77 |
#[allow(clippy::borrowed_box)]
|
78 |
pub fn find_path(&self, direction: &str) -> Option<&Box<Pathway>> {
|
84 |
}
|
85 |
#[allow(clippy::borrowed_box)]
|
86 |
pub fn find_path_mut(&mut self, direction: &str) -> Option<&mut Box<Pathway>> {
|
335 |
}
|
336 |
#[allow(clippy::borrowed_box)]
|
337 |
fn find_item(&self, item_name: &str) -> Option<&Box<Item>> {
|
343 |
}
|
344 |
#[allow(clippy::borrowed_box)]
|
345 |
fn find_item_mut(&mut self, item_name: &str) -> Option<&mut Box<Item>> {
|
61 |
#[allow(clippy::borrowed_box)]
|
62 |
pub fn find_item(&self, item_name: &str) -> Option<&Box<Item>> {
|
68 |
}
|
69 |
#[allow(clippy::borrowed_box)]
|
70 |
pub fn find_item_mut(&mut self, item_name: &str) -> Option<&mut Box<Item>> {
|
4 |
#[allow(clippy::borrowed_box)]
|
5 |
/// Given a space-layer agent_id, or a transport/node-layer node_id
|
81 |
/// | if a == b; return 0
|
82 |
#[allow(clippy::borrowed_box)]
|
83 |
fn compare(&self, b: &Box<dyn Buffer>) -> i32 {
|
92 |
/// with Lib3h and Holochain.
|
93 |
#[allow(clippy::borrowed_box)]
|
94 |
pub trait CryptoSystem: Sync + Send {
|
399 |
/// root. Otherwise the closest key to the specified key will be at the root.
|
400 |
#[allow(clippy::borrowed_box)]
|
401 |
fn splay<K, V, C>(key: &K, node: &mut Box<Node<K, V>>, comparator: &C)
|
81 |
#[allow(clippy::borrowed_box)] // https://github.com/rust-lang/rust-clippy/issues/4305
|
82 |
pub fn from_t(
|
75 |
/// Will return the appropriate errors if any of it fails.
|
76 |
#[allow(clippy::borrowed_box)] // because we can't easily massage &mut Box<T> into &mut T, apparently
|
77 |
fn get_transport_for_path(&mut self, path: &str) -> fail::Result<&mut Box<dyn Transport>> {
|
26 |
#[allow(clippy::borrowed_box)]
|
27 |
pub fn get(&self, name: &TxFunctionName) -> Option<&Box<dyn BuiltinFunction>> {
|
58 |
#[allow(clippy::borrowed_box)]
|
59 |
pub(crate) fn component_access(
|
26 |
#[allow(clippy::borrowed_box)]
|
27 |
pub(crate) fn component_access(
|
146 |
#[allow(clippy::borrowed_box)]
|
147 |
fn get_current_screen(&self) -> Option<&Box<dyn ViewExt>> {
|
172 |
#[allow(clippy::borrowed_box)]
|
173 |
fn get_top_view(&self) -> Option<&Box<dyn ViewExt>> {
|
338 |
#[allow(clippy::borrowed_box)]
|
339 |
// crate visibility due to use by tests
|
172 |
/// Returns the expanded edge associated to a task, None if it does not exist.
|
173 |
#[allow(clippy::borrowed_box)]
|
174 |
pub fn get_edge(&self, task: &Box<dyn Task<D>>) -> Option<Edge<D>> {
|
72 |
/// Use the macro [impl_task_boxed_methods] to automatically generate this method.
|
73 |
#[allow(clippy::borrowed_box)]
|
74 |
fn box_eq(&self, other: &Box<dyn Task<D>>) -> bool;
|
334 |
#[allow(clippy::borrowed_box)]
|
335 |
fn value(&self, s: &S, obj: &Box<dyn Objective<S> + 'a>) -> f64 {
|
51 |
impl Arbiter {
|
52 |
#[allow(clippy::borrowed_box)]
|
53 |
pub(super) fn new_system() -> (Self, ArbiterController) {
|
749 |
#[allow(clippy::borrowed_box)]
|
750 |
pub fn get_decl(&self, decl_id: DeclId) -> &Box<dyn Command> {
|
1870 |
#[allow(clippy::borrowed_box)]
|
1871 |
pub fn get_decl(&self, decl_id: DeclId) -> &Box<dyn Command> {
|
92 |
#[allow(clippy::borrowed_box)]
|
93 |
#[inline]
|
40 |
/// The actual checker itself
|
41 |
#[allow(clippy::borrowed_box)]
|
42 |
pub fn checker(&self) -> &Box<dyn Checker> {
|
25 |
/// Wraps `callback` along with [`pam_converse<T>`] for handing to libpam.
|
26 |
#[allow(clippy::borrowed_box)]
|
27 |
pub(crate) fn to_pam_conv<T: ConversationHandler>(callback: &mut Box<T>) -> PamConversation {
|
398 |
/// root. Otherwise the closest key to the specified key will be at the root.
|
399 |
#[allow(clippy::borrowed_box)]
|
400 |
fn splay<K, V, C>(key: &K, node: &mut Box<Node<K, V>>, comparator: &C)
|
18 |
#[derive(Debug)]
|
19 |
#[allow(clippy::borrowed_box)]
|
20 |
pub struct Children<'a, P: IpPrefix> {
|
295 |
#[allow(clippy::needless_lifetimes, clippy::borrowed_box)]
|
296 |
pub fn children<'a>(self: &'a Box<Self>) -> Children<'a, P> {
|
183 |
#[inline]
|
184 |
#[allow(clippy::borrowed_box)]
|
185 |
pub fn get_ref(&self) -> Option<&Box<dyn std::error::Error + Send + Sync>> {
|
19 |
#[allow(clippy::borrowed_box)]
|
20 |
impl Factory {
|
376 |
#[allow(clippy::borrowed_box)]
|
377 |
pub fn strip(&'a mut self) -> &'a mut Box<dyn Strip> {
|
221 |
/// Returns the writer.
|
222 |
#[allow(clippy::borrowed_box)]
|
223 |
pub fn writer(&self) -> &Box<dyn std::io::Write + Send + Sync> {
|
8 |
pub struct Chain<'a> {
|
9 |
#[allow(clippy::borrowed_box)]
|
10 |
pub(crate) handler: &'a Box<dyn Fn(&mut Request) -> HandleFuture + Send + Sync + 'static>,
|
8 |
#[allow(clippy::borrowed_box)]
|
9 |
struct ExtraArgs<'a>(&'a [&'a Box<Type>], &'a [Vec<Attribute>]);
|
552 |
/// LocalChangeInstructions are directly replied and never returned.
|
553 |
#[allow(clippy::borrowed_box)]
|
554 |
fn desugarize_expression(
|
740 |
#[allow(clippy::borrowed_box)]
|
741 |
fn desugarize_input(&self, input: &Input, ast: &RtLolaAst, current_sugar: &Box<dyn SynSugar>) -> ChangeSet {
|
745 |
#[allow(clippy::borrowed_box)]
|
746 |
fn desugarize_mirror(&self, mirror: &AstMirror, ast: &RtLolaAst, current_sugar: &Box<dyn SynSugar>) -> ChangeSet {
|
750 |
#[allow(clippy::borrowed_box)]
|
751 |
fn desugarize_output(&self, output: &Output, ast: &RtLolaAst, current_sugar: &Box<dyn SynSugar>) -> ChangeSet {
|
755 |
#[allow(clippy::borrowed_box)]
|
756 |
fn desugarize_trigger(&self, trigger: &Trigger, ast: &RtLolaAst, current_sugar: &Box<dyn SynSugar>) -> ChangeSet {
|
247 |
#[allow(clippy::borrowed_box)]
|
248 |
/// Returns an [`std::error::Error`] if the error source was [`ErrorSource::Application`],
|
44 |
/// The Archive trait should be implemented by every backend.
|
45 |
#[allow(clippy::borrowed_box)]
|
46 |
pub trait Archive: Send {
|
38 |
/// channel so it can be processed later on.
|
39 |
#[allow(clippy::borrowed_box)]
|
40 |
fn check_and_queue(
|
67 |
/// upon receipt of which it immediately returns.
|
68 |
#[allow(clippy::borrowed_box)]
|
69 |
pub fn monitor(
|
86 |
#[allow(clippy::borrowed_box)]
|
87 |
fn serialize_sctp_chunk_layer<S>(
|
1770 |
#[allow(clippy::borrowed_box)]
|
1771 |
async fn handle_reconfig_param(
|
2139 |
#[allow(clippy::borrowed_box)]
|
2140 |
async fn handle_chunk(
|
814 |
#[allow(clippy::borrowed_box)]
|
815 |
fn handle_chunk(
|
1528 |
#[allow(clippy::borrowed_box)]
|
1529 |
fn handle_reconfig_param(
|
48 |
/// `Option<&Command>` - The command with the name requested, or None if it was not found.
|
49 |
#[allow(clippy::borrowed_box)]
|
50 |
pub fn get(&self, name: &str) -> Option<&Box<Command<'a, S>>> {
|
23 |
/// construct a new "Joined" ConnectionState item
|
24 |
#[allow(clippy::borrowed_box)]
|
25 |
pub fn new_joined(space_hash: SpaceHash, agent_id: AgentId) -> Sim2hResult<Self> {
|
6 |
#[allow(clippy::borrowed_box)]
|
7 |
/// ack - lib3h can only convert agent_ids to locations right now
|
29 |
#[allow(clippy::borrowed_box)]
|
30 |
#[newrelic_autotrace(SIM2H)]
|
50 |
/// Logarithm of conditional probability of sample j given class in the specified index.
|
51 |
#[allow(clippy::borrowed_box)]
|
52 |
fn log_likelihood<'a>(&'a self, class_index: usize, j: &'a Box<dyn ArrayView1<X> + 'a>) -> f64;
|
76 |
/// Add migration to migration table
|
77 |
#[allow(clippy::borrowed_box)]
|
78 |
async fn add_migration_to_db_table(
|
84 |
/// Delete migration from table
|
85 |
#[allow(clippy::borrowed_box)]
|
86 |
async fn delete_migration_from_db_table(
|
276 |
/// Apply given migration and add it to applied migration table
|
277 |
#[allow(clippy::borrowed_box)]
|
278 |
async fn apply_migration(&self, migration: &Box<dyn MigrationTrait<DB>>) -> Result<(), Error> {
|
325 |
/// Revert provided migration and remove migration from table
|
326 |
#[allow(clippy::borrowed_box)]
|
327 |
async fn revert_migration(&self, migration: &Box<dyn MigrationTrait<DB>>) -> Result<(), Error> {
|
653 |
#[allow(clippy::borrowed_box)]
|
654 |
impl<'a> DIDMethods<'a> {
|
189 |
/// Prints errors.
|
190 |
#[allow(clippy::borrowed_box)]
|
191 |
fn error_handler(e: &Box<dyn StuartError>) {
|
29 |
/// Returns the unstylable content if it is a Text Variant, None otherwise
|
30 |
#[allow(clippy::borrowed_box)]
|
31 |
pub fn to_unstylable(&self) -> Option<&Box<dyn Unstyle + 'a>> {
|
100 |
#[allow(clippy::borrowed_box)]
|
101 |
fn get(&self, i: usize) -> Option<&Box<dyn Unstyle>> {
|
105 |
#[allow(clippy::borrowed_box)]
|
106 |
fn to_ref_vec(&self) -> Vec<&Box<dyn Unstyle>> {
|
354 |
#[allow(clippy::borrowed_box)]
|
355 |
fn format_unstylable<'a>(
|
399 |
#[allow(clippy::borrowed_box)]
|
400 |
fn create_data_lines<'a>(
|
266 |
#[cfg_attr(feature = "cargo-clippy", allow(borrowed_box))]
|
267 |
fn handle_command(args: &[String], cmd: &mut Box<Cmd>) -> Result<bool, Error> {
|
40 |
impl CmdStatus {
|
41 |
#[cfg_attr(feature = "cargo-clippy", allow(borrowed_box))]
|
42 |
fn print_component_id(&self, t: &mut Box<term::StdoutTerminal>, component: &config::Component) -> Result<(), std::io::Error> {
|
54 |
#[cfg_attr(feature = "cargo-clippy", allow(borrowed_box))]
|
55 |
fn print_component_name(&self, t: &mut Box<term::StdoutTerminal>, component: &config::Component) -> Result<(), std::io::Error> {
|
69 |
#[cfg_attr(feature = "cargo-clippy", allow(borrowed_box))]
|
70 |
fn print_component_path(&self, t: &mut Box<term::StdoutTerminal>, component: &config::Component) -> Result<(), std::io::Error> {
|
51 |
#[cfg_attr(feature = "cargo-clippy", allow(borrowed_box))]
|
52 |
pub fn get(&self, key: &str) -> Option<&Box<Property>>
|
239 |
#[cfg_attr(feature = "cargo-clippy", allow(borrowed_box))]
|
240 |
pub fn fetch_method_get(&self, name: &str) -> &Box<fetcher::Method> {
|
461 |
impl HttpClient {
|
462 |
#[allow(clippy::borrowed_box)]
|
463 |
async fn check_cache(
|
525 |
#[allow(clippy::borrowed_box)]
|
526 |
async fn check_ban(
|
1373 |
file: &'a FileName,
|
1374 |
#[allow(clippy::borrowed_box)]
|
1375 |
hook: &'a Box<dyn 'b + Hook>,
|
23 |
#[allow(clippy::borrowed_box)]
|
24 |
pub fn get<Interface>(&self, name: Option<&'static str>) -> Option<&Box<Provider>>
|
4 |
#[derive(Debug)]
|
5 |
#[allow(clippy::borrowed_box)]
|
6 |
pub struct ScopedContext<'a>(ContextWrapper<'a>, Rc<RefCell<ContextMap>>);
|
8 |
#[allow(clippy::borrowed_box)]
|
9 |
impl<'a> ScopedContext<'a> {
|
818 |
// It is important for the context to be boxed, hence this lint suppression.
|
819 |
#[allow(clippy::borrowed_box)]
|
820 |
fn context_as_user_data(context: &Box<SecureSessionContext>) -> *mut c_void {
|
7 |
pub struct LoggerReturn<'a, 's> {
|
8 |
#[allow(clippy::borrowed_box, clippy::type_complexity)]
|
9 |
pub inner: &'s Box<dyn FnMut(LogType, &str) + 'a>,
|
12 |
impl<'a, 's> LoggerReturn<'a, 's> {
|
13 |
#[allow(clippy::borrowed_box, clippy::type_complexity)]
|
14 |
#[inline]
|
7 |
pub struct LoggerReturn<'a, 's> {
|
8 |
#[allow(clippy::borrowed_box, clippy::type_complexity)]
|
9 |
pub inner: &'s Box<dyn FnMut(LogType, &str) + 'a>,
|
12 |
impl<'a, 's> LoggerReturn<'a, 's> {
|
13 |
#[allow(clippy::borrowed_box, clippy::type_complexity)]
|
14 |
#[inline]
|
969 |
/// Creates a stream not defined error
|
970 |
#[allow(clippy::borrowed_box)]
|
971 |
pub fn query_stream_not_defined_err<S, I>(stmt: &S, inner: &I, name: String, port: String) -> Error
|
1031 |
/// always, this is a function to create errors
|
1032 |
#[allow(clippy::borrowed_box)]
|
1033 |
pub fn query_guard_not_bool<T, O: Ranged, I: Ranged>(
|
213 |
#[allow(clippy::borrowed_box)]
|
214 |
async fn bytes_to_reader(
|
227 |
#[allow(clippy::borrowed_box)]
|
228 |
fn add_key(path: &Path, roles: &[RoleType], key_source: &Box<dyn KeySource>) -> Result<()> {
|
264 |
#[allow(clippy::borrowed_box)]
|
265 |
fn gen_rsa_key(
|
86 |
}
|
87 |
#[allow(clippy::borrowed_box)]
|
88 |
pub unsafe fn contents(&mut self) -> *mut dyn Any {
|
129 |
type Target = dyn Any;
|
130 |
#[allow(clippy::borrowed_box)]
|
131 |
fn deref(&self) -> &dyn Any {
|
141 |
type Target = dyn Any;
|
142 |
#[allow(clippy::borrowed_box)]
|
143 |
fn deref(&self) -> &dyn Any {
|
139 |
// Suppresses warning about returning a reference to a box
|
140 |
#[allow(clippy::borrowed_box)]
|
141 |
pub unsafe fn get_plugin(&self) -> &mut Box<dyn Plugin> {
|
124 |
// function with no, name, assume it's a function pointer
|
125 |
#[allow(clippy::borrowed_box)]
|
126 |
let ret: CType = return_value
|
182 |
} => {
|
183 |
#[allow(clippy::borrowed_box)]
|
184 |
let ret: CType = return_value
|
208 |
/// Prepares an item to match the expected iterator `Item` signature.
|
209 |
#[allow(clippy::borrowed_box)]
|
210 |
fn convert_item((name, export): (&'instance Box<str>, &'instance Extern)) -> Export {
|
212 |
/// Returns the event.
|
213 |
#[allow(clippy::borrowed_box)]
|
214 |
pub fn event(&self) -> &Box<dyn Event<R> + Send> {
|
307 |
/// Returns the event.
|
308 |
#[allow(clippy::borrowed_box)]
|
309 |
pub fn event(&self) -> &Box<dyn Event<R> + Send> {
|
390 |
/// Returns the event.
|
391 |
#[allow(clippy::borrowed_box)]
|
392 |
pub fn event(&self) -> &Box<dyn Event<R> + Send> {
|
1796 |
#[allow(clippy::borrowed_box)]
|
1797 |
async fn handle_reconfig_param(
|
2147 |
#[allow(clippy::borrowed_box)]
|
2148 |
async fn handle_chunk(
|
1733 |
#[allow(clippy::borrowed_box)]
|
1734 |
async fn handle_reconfig_param(
|
2054 |
#[allow(clippy::borrowed_box)]
|
2055 |
async fn handle_chunk(
|
93 |
/// Connect window to the drawing context.
|
94 |
#[allow(clippy::borrowed_box)] // Nope, this is actually required
|
95 |
fn connect(&mut self, draw: &mut Box<dyn Draw>);
|
1554 |
#[allow(clippy::borrowed_box)]
|
1555 |
pub trait VValUserData {
|
178 |
#[allow(clippy::borrowed_box)]
|
179 |
fn write_simple_row_group(
|
65 |
let on_frame = on_frame.borrow();
|
66 |
#[allow(clippy::borrowed_box)]
|
67 |
let on_frame: &Box<dyn Fn(f64)> = on_frame.as_ref().unwrap();
|
86 |
let on_frame_clone = on_frame_clone.borrow();
|
87 |
#[allow(clippy::borrowed_box)]
|
88 |
let on_frame_clone: &Box<dyn Fn(f64)> =
|
52 |
#[allow(clippy::borrowed_box)]
|
53 |
#[allow(clippy::too_many_arguments)]
|
368 |
// than me should clean this up someday...
|
369 |
#[allow(clippy::borrowed_box)]
|
370 |
pub fn get_pane(&self, pane_id: PaneId) -> Option<&Box<dyn Pane>> {
|
1155 |
#[allow(clippy::borrowed_box)]
|
1156 |
pub fn is_inside_viewport(viewport: &Viewport, pane: &Box<dyn Pane>) -> bool {
|
9 |
// Trait objects must be returned as a &Box<dyn Array> so that they can be cloned
|
10 |
#![allow(clippy::borrowed_box)]
|
11 |
// Allow type complexity warning to avoid API break.
|
3 |
clippy::borrow_as_ptr,
|
4 |
clippy::borrowed_box,
|
5 |
clippy::cast_possible_truncation,
|
69 |
#![allow(clippy::needless_doctest_main)]
|
70 |
#![allow(clippy::borrowed_box)] // There are two incorrect suggestions for this lint: https://github.com/rust-lang/rust-clippy/issues/3971
|
1 |
#![allow(clippy::borrowed_box)]
|
2 |
#![allow(clippy::unnecessary_unwrap)]
|
5 |
#![allow(clippy::borrowed_box)]
|
6 |
#![allow(clippy::missing_safety_doc)]
|
42 |
clippy::module_name_repetitions,
|
43 |
clippy::borrowed_box,
|
44 |
clippy::missing_const_for_fn,
|
1 |
#![deny(missing_docs)]
|
2 |
#![allow(clippy::borrowed_box)]
|
3 |
//! Simple, robust and pragmatic facade for JSON-RPC2 services that is transport agnostic.
|
3 |
// For convenience.
|
4 |
#![allow(clippy::borrowed_box)]
|
1 |
#![allow(clippy::borrowed_box)]
|
129 |
)]
|
130 |
#![allow(clippy::too_many_arguments, clippy::borrowed_box, clippy::or_fun_call)]
|
131 |
#![doc(
|
18 |
#![allow(clippy::boxed_local)]
|
19 |
#![allow(clippy::borrowed_box)]
|
20 |
#![allow(clippy::unused_unit)]
|
4 |
#![allow(clippy::borrowed_box, clippy::drop_ref)]
|
1 |
#![allow(dead_code)]
|
2 |
#![allow(clippy::borrowed_box)]
|
41 |
#![allow(
|
42 |
clippy::borrowed_box,
|
43 |
clippy::upper_case_acronyms,
|
1 |
#![allow(clippy::borrowed_box)]
|
2 |
#![allow(dead_code)]
|
1 |
#![allow(dead_code)]
|
2 |
#![allow(clippy::borrowed_box)]
|
1 |
#![allow(dead_code)]
|
2 |
#![allow(clippy::borrowed_box)]
|
1 |
//! Wrapper over a token collection for antlr consumption.
|
2 |
#![allow(clippy::unused_self, clippy::cast_sign_loss, clippy::borrowed_box)]
|
3 |
use antlr_rust::atn_simulator::IATNSimulator;
|
1 |
#![allow(clippy::borrowed_box)]
|
7 |
*/
|
8 |
#![allow(clippy::borrowed_box)]
|
9 |
use core::fmt::{self, Debug};
|
1 |
#![allow(clippy::borrowed_box)]
|
9 |
clippy::type_complexity,
|
10 |
clippy::borrowed_box,
|
11 |
clippy::module_inception,
|
56 |
clippy::vec_init_then_push,
|
57 |
clippy::borrowed_box,
|
58 |
clippy::manual_unwrap_or,
|