HomeFreeBSD

lang/gleam: Unbreak build with Rust 1.51.0 (D29425)

Description

lang/gleam: Unbreak build with Rust 1.51.0 (D29425)

error: a method with this name may be added to the standard library in the future

--> src/docs.rs:142:54
 |

142 | unnest: module.name.iter().map(|_| "..").intersperse("/").collect(),

|                                                      ^^^^^^^^^^^
|

note: the lint level is defined here

--> src/main.rs:1:9
 |

1 | #![deny(warnings)]

|         ^^^^^^^^
= note: `#[deny(unstable_name_collisions)]` implied by `#[deny(warnings)]`
= warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior!
= note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
= help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method

Cap the lint level at warnings for now

http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-03-26_19h06m01s/logs/errors/gleam-0.14.2.log

PR: 254578

Details

Provenance
tobikAuthored on
Parents
rP569337: Upgrade to STIX Two, v2.12.
Branches
Unknown
Tags
Unknown