Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit e9fe9e4

Browse files
committed
ices/89022-2.rs: fixed with no errors
=== stdout === === stderr === warning: the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/89022-2.rs:1:12 | 1 | #![feature(adt_const_params)] | ^^^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default = note: see issue #44580 <rust-lang/rust#44580> for more information warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/89022-2.rs:2:12 | 2 | #![feature(generic_const_exprs)] | ^^^^^^^^^^^^^^^^^^^ | = note: see issue #76560 <rust-lang/rust#76560> for more information warning: unused variable: `map` --> /home/runner/work/glacier/glacier/ices/89022-2.rs:239:9 | 239 | let map: RestrictedStringMap<KeyCons<KeyNil, "k1">> = map.remove_key::<_, "k2">(); | ^^^ help: if this is intentional, prefix it with an underscore: `_map` | = note: `#[warn(unused_variables)]` on by default warning: variable does not need to be mutable --> /home/runner/work/glacier/glacier/ices/89022-2.rs:237:9 | 237 | let mut map: RestrictedStringMap<KeyCons<KeyCons<KeyNil, "k1">, "k2">> = | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: function is never used: `foo` --> /home/runner/work/glacier/glacier/ices/89022-2.rs:235:4 | 235 | fn foo() { | ^^^ | = note: `#[warn(dead_code)]` on by default warning: 5 warnings emitted ==============
1 parent bbf9276 commit e9fe9e4

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)