implement read-only auth #642
GitHub Actions / clippy
failed
Jan 15, 2025 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
github-actions / clippy
this function takes 3 arguments but 2 arguments were supplied
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> /home/runner/work/y-sweet/y-sweet/crates/y-sweet-core/src/doc_connection.rs:49:9
|
49 | Self::new_inner(awareness, Arc::new(callback))
| ^^^^^^^^^^^^^^^ ------------------ argument #2 of type `Authorization` is missing
|
note: associated function defined here
--> /home/runner/work/y-sweet/y-sweet/crates/y-sweet-core/src/doc_connection.rs:64:12
|
64 | pub fn new_inner(
| ^^^^^^^^^
65 | awareness: Arc<RwLock<Awareness>>,
| ---------------------------------
66 | authorization: Authorization,
| ----------------------------
67 | callback: Callback,
| ------------------
help: provide the argument
|
49 | Self::new_inner(awareness, /* Authorization */, Arc::new(callback))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Loading