feat(maitake-sync): mutex-traits
integration
#1367
Annotations
5 errors and 3 warnings
maitake-sync/src/util.rs#L126
error: missing documentation for an associated function
--> maitake-sync/src/util.rs:126:9
|
126 | $vis const fn $name($($arg: $T),*) -> $Ret $body
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: maitake-sync/src/wait_map.rs:471:5
|
471 | / loom_const_fn! {
472 | | #[must_use]
473 | | pub fn with_raw_mutex() -> Self {
474 | | Self {
... |
478 | | }
479 | | }
| |_____- in this macro invocation
|
= note: `-D missing-docs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(missing_docs)]`
= note: this error originates in the macro `loom_const_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
maitake-sync/src/util.rs#L126
error: missing documentation for an associated function
--> maitake-sync/src/util.rs:126:9
|
126 | $vis const fn $name($($arg: $T),*) -> $Ret $body
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: maitake-sync/src/wait_queue.rs:385:5
|
385 | / loom_const_fn! {
386 | | #[must_use]
387 | | pub fn with_raw_mutex() -> Self {
388 | | Self::make(State::Empty, Mutex::with_raw_mutex(List::new()))
389 | | }
390 | | }
| |_____- in this macro invocation
|
= note: this error originates in the macro `loom_const_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
maitake-sync/src/blocking.rs#L28
error: unresolved link to `spinlocks_`
--> maitake-sync/src/blocking.rs:28:7
|
28 | //! _[spinlocks_]_, which wait for the lock to become available by _spinning_:
| ^^^^^^^^^^ no item named `spinlocks_` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
= note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]`
|
maitake-sync/src/blocking.rs#L32
error: unresolved link to `spin`
--> maitake-sync/src/blocking.rs:32:7
|
32 | //! [`spin`] module. Spinlocks are a
| ^^^^ no item named `spin` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: extractions/setup-just@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
maitake-sync/src/util.rs#L126
warning: missing documentation for an associated function
--> maitake-sync/src/util.rs:126:9
|
126 | $vis const fn $name($($arg: $T),*) -> $Ret $body
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: maitake-sync/src/wait_map.rs:471:5
|
471 | / loom_const_fn! {
472 | | #[must_use]
473 | | pub fn with_raw_mutex() -> Self {
474 | | Self {
... |
478 | | }
479 | | }
| |_____- in this macro invocation
|
note: the lint level is defined here
--> maitake-sync/src/lib.rs:6:9
|
6 | #![warn(missing_docs, missing_debug_implementations)]
| ^^^^^^^^^^^^
= note: this warning originates in the macro `loom_const_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
maitake-sync/src/util.rs#L126
warning: missing documentation for an associated function
--> maitake-sync/src/util.rs:126:9
|
126 | $vis const fn $name($($arg: $T),*) -> $Ret $body
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: maitake-sync/src/wait_queue.rs:385:5
|
385 | / loom_const_fn! {
386 | | #[must_use]
387 | | pub fn with_raw_mutex() -> Self {
388 | | Self::make(State::Empty, Mutex::with_raw_mutex(List::new()))
389 | | }
390 | | }
| |_____- in this macro invocation
|
= note: this warning originates in the macro `loom_const_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
This job failed
Loading