60 |
#[allow(clippy::unused_async)]
|
61 |
async fn async_math_event_handler(mut value: i64, math: MathEvent) -> (i64, Option<OutputEvent>) {
|
26 |
#[cfg(test)]
|
27 |
#[allow(clippy::unused_async)]
|
28 |
async fn get_maven_index() -> Result<String> {
|
46 |
#[cfg(test)]
|
47 |
#[allow(clippy::unused_async)]
|
48 |
async fn get_group_index(group: &str) -> Result<String> {
|
704 |
#[cfg(test)]
|
705 |
#[allow(clippy::unused_async)]
|
706 |
mod tests {
|
210 |
#[cfg(all(feature = "wrapped", not(feature = "check_approle")))]
|
211 |
#[allow(clippy::unused_async)]
|
212 |
async fn check_approle(_: &Client, _: &Config) -> Result<bool> {
|
50 |
#[allow(clippy::unused_async)]
|
51 |
pub(crate) async fn as_empty(res: Result<Response, Error>) -> Result<()> {
|
14 |
//TODO: this a nightly only warning currently
|
15 |
#[allow(clippy::unused_async)]
|
16 |
pub async fn handle_rejection(
|
58 |
#[allow(clippy::unused_async)]
|
59 |
async fn handshake(sender: Sender<MidiRawData>) {
|
60 |
#[allow(clippy::needless_pass_by_value)]
|
61 |
#[allow(clippy::unused_async)]
|
62 |
async fn serve_req(_req: Request<Body>) -> Result<Response<Body>, hyper::Error> {
|
86 |
#[allow(clippy::unused_async)] // We are implementing an interface
|
87 |
#[instrument(level="debug", name="prometheus_request", skip(req), fields(http.uri = %req.uri(), http.method = %req.method()))]
|
580 |
#[allow(clippy::unused_async)]
|
581 |
async fn cleanup_action_history(keep_for: Duration, actions: &Mutex<HashMap<Uuid, Action>>) {
|
238 |
#[allow(clippy::unused_async)]
|
239 |
async fn cleanup_memory_log(keep: chrono::Duration) {
|
56 |
#[allow(clippy::unused_async)]
|
57 |
pub async fn modrinth(project: Project, team_members: Vec<TeamMember>) -> Result<()> {
|
427 |
/// Returns a `Result` because that's the easiest signature to use.
|
428 |
#[allow(clippy::unused_async)]
|
429 |
async fn reduce_latest(left: Option<Self>, right: Self) -> Result<Option<Self>, Error> {
|
61 |
// Async because it is used in a stream mapping method, which requires async
|
62 |
#[allow(clippy::unused_async)]
|
63 |
#[tracing::instrument(level = "trace")]
|
26 |
/// Convert rejections into a JSON response.
|
27 |
#[allow(clippy::unused_async)]
|
28 |
pub async fn recover(err: Rejection) -> Result<impl Reply, Rejection> {
|
38 |
// Depends on the selected set of features.
|
39 |
clippy::unused_async
|
40 |
)]
|
48 |
#[allow(clippy::unused_async)]
|
49 |
#[get("/")]
|
127 |
#[allow(clippy::future_not_send, clippy::unused_async)]
|
128 |
#[get("/prometheus")]
|
35 |
/// with just an ".into()"
|
36 |
#[allow(clippy::unused_async)]
|
37 |
pub async fn ping(_req: tide::Request<()>) -> tide::Result<impl Into<tide::Response>> {
|
42 |
#[allow(clippy::unused_async)]
|
43 |
pub async fn httpresp(_req: tide::Request<()>) -> tide::Result<http::Response> {
|
90 |
unknown_lints,
|
91 |
clippy::unused_async
|
92 |
)]
|
158 |
#[allow(clippy::unused_async)]
|
159 |
async fn get_status() -> ServerStatus {
|
79 |
#[allow(clippy::unused_async)]
|
80 |
async fn function_handler(_event: LambdaEvent<Request>) -> Result<(), Error> {
|
188 |
#[allow(clippy::unused_async)]
|
189 |
pub(crate) async fn empty(res: Result<reqwest::Response, Error>) -> Result<()> {
|
193 |
#[allow(clippy::unused_async)]
|
194 |
pub(crate) async fn handle_job_response(res: Result<reqwest::Response, Error>) -> Result<JobInfo> {
|
7 |
#[allow(clippy::needless_pass_by_value)]
|
8 |
#[allow(clippy::unused_async)]
|
9 |
pub async fn server_info(state: web::Data<State>) -> HttpResponse {
|
5 |
/// at `crate::protocol::*`.
|
6 |
#[allow(clippy::unused_async)]
|
7 |
#[cfg_attr(coverage, no_coverage)]
|
12 |
/// Checks that application is accepting connections correctly.
|
13 |
#[allow(clippy::unused_async)]
|
14 |
#[cfg_attr(coverage, no_coverage)]
|
212 |
/// 404 handler
|
213 |
#[allow(clippy::unused_async)]
|
214 |
async fn not_found_handler(State(state): State<ServerState<'static>>) -> Response {
|
7 |
#[async_test]
|
8 |
#[allow(clippy::unused_async)]
|
9 |
async fn run_test() {
|
25 |
#[async_test]
|
26 |
#[allow(clippy::unused_async)]
|
27 |
async fn should_work_with_spawned_tasks() {
|
25 |
#[allow(clippy::unused_async, clippy::future_not_send, clippy::too_many_lines)]
|
26 |
pub async fn default(
|
33 |
#[cfg(not(feature = "postgres"))]
|
34 |
#[allow(clippy::unused_async)]
|
35 |
pub async fn setup() -> Memory {
|
178 |
#[allow(clippy::unused_async)]
|
179 |
pub async fn finish_query(&mut self) -> anyhow::Result<()> {
|
339 |
#[allow(clippy::unused_async)]
|
340 |
async fn handle_static_js() -> impl Responder {
|
8 |
#[allow(clippy::unused_async)]
|
9 |
pub(crate) async fn livez() -> StatusCode {
|
13 |
#[allow(clippy::unused_async)]
|
14 |
pub(crate) async fn readyz(State(state): State<Context>) -> StatusCode {
|
22 |
#[allow(clippy::unused_async)]
|
23 |
pub(crate) async fn get_banned(State(state): State<Context>) -> Json<Vec<BanInfo>> {
|
27 |
#[allow(clippy::unused_async)]
|
28 |
pub(crate) async fn remove_banned(
|
267 |
#[allow(clippy::unused_async)]
|
268 |
async fn simple_endpoint(_: Request) -> Result<Response, UnderError> {
|
11 |
clippy::trivially_copy_pass_by_ref,
|
12 |
clippy::unused_async
|
13 |
)]
|
11 |
clippy::trivially_copy_pass_by_ref,
|
12 |
clippy::unused_async
|
13 |
)]
|
1 |
//TODO: this a nightly only warning currently
|
2 |
#![allow(clippy::unused_async)]
|
1 |
//! Checkpoint example.
|
2 |
#![allow(clippy::expect_used, unused_qualifications, clippy::unused_async, clippy::print_stdout)]
|
1 |
//! Simple example using context.
|
2 |
#![allow(clippy::expect_used, unused_qualifications, clippy::unused_async, clippy::print_stdout)]
|
1 |
//! Example showing the error handling in jobs.
|
2 |
#![allow(clippy::expect_used, unused_qualifications, clippy::unused_async, clippy::print_stdout)]
|
1 |
//! Simple example.
|
2 |
#![allow(clippy::expect_used, unused_qualifications, clippy::unused_async, clippy::print_stdout)]
|
100 |
mod tests {
|
101 |
#![allow(clippy::expect_used, unused_qualifications, clippy::unused_async)]
|
1 |
//! General tests and simple cases.
|
2 |
#![allow(clippy::expect_used, clippy::unused_async)]
|
18 |
#![deny(unsafe_code)]
|
19 |
#![allow(clippy::let_underscore_drop, clippy::unused_async)]
|
1 |
#![warn(rust_2018_idioms, single_use_lifetimes)]
|
2 |
#![allow(clippy::unused_async)]
|
3 |
#![allow(clippy::needless_lifetimes, clippy::semicolon_if_nothing_returned)] // broken
|
1 |
#![warn(rust_2018_idioms, single_use_lifetimes)]
|
2 |
#![allow(clippy::try_err, clippy::unused_async)]
|
3 |
#![allow(clippy::semicolon_if_nothing_returned)] // broken
|
3 |
clippy::module_name_repetitions,
|
4 |
clippy::unused_async,
|
5 |
clippy::unused_self,
|
4 |
clippy::module_name_repetitions,
|
5 |
clippy::unused_async,
|
6 |
clippy::unused_self
|
10 |
clippy::too_many_lines,
|
11 |
clippy::unused_async,
|
12 |
clippy::wildcard_imports
|
4 |
clippy::module_name_repetitions,
|
5 |
clippy::unused_async,
|
6 |
clippy::unused_self
|
4 |
#![allow(clippy::enum_glob_use)]
|
5 |
#![allow(clippy::unused_async)]
|
6 |
#![allow(clippy::similar_names)]
|
10 |
#![allow(clippy::multiple_crate_versions)]
|
11 |
#![allow(clippy::unused_async)]
|
12 |
#![doc = include_str!("../README.md")]
|
1 |
#![allow(clippy::unused_async)]
|
2 |
mod admin;
|
4 |
#![allow(clippy::similar_names)]
|
5 |
#![allow(clippy::unused_async)]
|
6 |
#![allow(clippy::many_single_char_names)]
|
1 |
#![allow(clippy::unused_async)]
|
2 |
use std::sync::Arc;
|
9 |
clippy::module_name_repetitions,
|
10 |
clippy::unused_async,
|
11 |
soft_unstable
|
1 |
#![warn(clippy::pedantic)]
|
2 |
#![allow(clippy::unused_async)]
|