Skip to content

Bump version to 0.9.0 #221

Bump version to 0.9.0

Bump version to 0.9.0 #221

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Jul 12, 2023 in 0s

clippy

5 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 5
Note 0
Help 0

Versions

  • rustc 1.73.0-nightly (993deaa0b 2023-07-11)
  • cargo 1.73.0-nightly (45782b6b8 2023-07-05)
  • clippy 0.1.72 (993deaa 2023-07-11)

Annotations

Check warning on line 117 in src/memory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'b

warning: the following explicit lifetimes could be elided: 'b
   --> src/memory.rs:117:24
    |
117 | pub fn alloc_error<'a, 'b, A, Err>(
    |                        ^^
118 |     cr: &'a mut OCamlRuntime,
119 |     err: OCamlRef<'b, Err>,
    |                   ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
117 ~ pub fn alloc_error<'a, A, Err>(
118 |     cr: &'a mut OCamlRuntime,
119 ~     err: OCamlRef<'_, Err>,
    |

Check warning on line 106 in src/memory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'b

warning: the following explicit lifetimes could be elided: 'b
   --> src/memory.rs:106:21
    |
106 | pub fn alloc_ok<'a, 'b, A, Err>(
    |                     ^^
107 |     cr: &'a mut OCamlRuntime,
108 |     value: OCamlRef<'b, A>,
    |                     ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
106 ~ pub fn alloc_ok<'a, A, Err>(
107 |     cr: &'a mut OCamlRuntime,
108 ~     value: OCamlRef<'_, A>,
    |

Check warning on line 95 in src/memory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'b

warning: the following explicit lifetimes could be elided: 'b
  --> src/memory.rs:95:23
   |
95 | pub fn alloc_some<'a, 'b, A>(
   |                       ^^
96 |     cr: &'a mut OCamlRuntime,
97 |     value: OCamlRef<'b, A>,
   |                     ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
   |
95 ~ pub fn alloc_some<'a, A>(
96 |     cr: &'a mut OCamlRuntime,
97 ~     value: OCamlRef<'_, A>,
   |

Check warning on line 22 in src/conv/to_ocaml.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

docs for unsafe trait missing `# Safety` section

warning: docs for unsafe trait missing `# Safety` section
  --> src/conv/to_ocaml.rs:22:1
   |
22 | pub unsafe trait ToOCaml<T> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc

Check warning on line 10 in src/conv/from_ocaml.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

docs for unsafe trait missing `# Safety` section

warning: docs for unsafe trait missing `# Safety` section
  --> src/conv/from_ocaml.rs:10:1
   |
10 | pub unsafe trait FromOCaml<T> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
   = note: `#[warn(clippy::missing_safety_doc)]` on by default