You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fixes:
error: Couldn't apply a single conversion - momo is ineffective here
--> gix\src\reference\iter.rs:44:5
|
44 | /// Return an iterator over all references that match the given `prefix`.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Couldn't apply a single conversion - momo is ineffective here
--> gix\src\config\snapshot\access.rs:28:5
|
28 | /// Like [`boolean()`][Self::boolean()], but it will report an error if the value couldn't be interpreted as boolean.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Couldn't apply a single conversion - momo is ineffective here
--> gix\src\config\snapshot\access.rs:44:5
|
44 | /// Like [`integer()`][Self::integer()], but it will report an error if the value couldn't be interpreted as boolean.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Couldn't apply a single conversion - momo is ineffective here
--> gix\src\config\snapshot\access.rs:50:5
|
50 | /// Return the string at `key`, or `None` if there is no such value.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Couldn't apply a single conversion - momo is ineffective here
--> gix\src\config\snapshot\access.rs:58:5
|
58 | /// Return the trusted and fully interpolated path at `key`, or `None` if there is no such value
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Couldn't apply a single conversion - momo is ineffective here
--> gix\src\config\snapshot\access.rs:69:5
|
69 | /// Return the trusted string at `key` for launching using [command::prepare()](gix_command::prepare()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `gix_path::RelativePath`
--> gix\src\reference\iter.rs:5:5
|
5 | use gix_path::RelativePath;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused imports: `borrow::Cow` and `ffi::OsStr`
--> gix\src\config\snapshot\access.rs:2:11
|
2 | use std::{borrow::Cow, ffi::OsStr};
| ^^^^^^^^^^^ ^^^^^^^^^^
error[E0599]: no method named `trusted_path` found for struct `config::Snapshot<'_>` in the current scope
--> gix\src\repository\mailmap.rs:70:14
|
68 | let configured_path = self
| _______________________________-
69 | | .config_snapshot()
70 | | .trusted_path(&Mailmap::FILE)
| | -^^^^^^^^^^^^ method not found in `Snapshot<'_>`
| |_____________|
|
|
::: gix\src\config\mod.rs:20:1
|
20 | pub struct Snapshot<'repo> {
| -------------------------- method `trusted_path` not found for this struct
error[E0599]: no method named `try_boolean` found for reference `&config::Snapshot<'repo>` in the current scope
--> gix\src\config\snapshot\access.rs:25:14
|
25 | self.try_boolean(key).and_then(Result::ok)
| ^^^^^^^^^^^
|
help: there is a method `boolean` with a similar name
|
25 - self.try_boolean(key).and_then(Result::ok)
25 + self.boolean(key).and_then(Result::ok)
|
error[E0599]: no method named `try_integer` found for reference `&config::Snapshot<'repo>` in the current scope
--> gix\src\config\snapshot\access.rs:41:14
|
41 | self.try_integer(key).and_then(Result::ok)
| ^^^^^^^^^^^
|
help: there is a method `integer` with a similar name
|
41 - self.try_integer(key).and_then(Result::ok)
41 + self.integer(key).and_then(Result::ok)
|
For more information about this error, try `rustc --explain E0599`.
0 commit comments