This repository was archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit 837428d
committed
ices/89022-1.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-1.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-1.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-1.rs:253:9
|
253 | 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-1.rs:251:9
|
251 | let mut map: RestrictedStringMap<KeyCons<KeyCons<KeyNil, "k1">, "k2">> =
| ----^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: private type `fn() -> bool {contains_key_helper_helper::<KEY_ID, K>}` in public interface (error E0446)
--> /home/runner/work/glacier/glacier/ices/89022-1.rs:153:1
|
153 | / impl<Tail, const KEY_ID: &'static str, const K: &'static str> ContainsKey<K>
154 | | for KeyCons<Tail, KEY_ID>
155 | | where
156 | | Tail: KeySchema,
157 | | Self: ContainsKeyHelper<{ contains_key_helper_helper::<KEY_ID, K>() }, K>,
158 | | {
159 | | }
| |_^
|
= note: `#[warn(private_in_public)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #34537 <rust-lang/rust#34537>
warning: function is never used: `foo`
--> /home/runner/work/glacier/glacier/ices/89022-1.rs:249:4
|
249 | fn foo() {
| ^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 6 warnings emitted
==============1 parent bbf9276 commit 837428dCopy full SHA for 837428d
1 file changed
+0
-0
lines changedices/89022-1.rs renamed to fixed/89022-1.rs
Copy file name to clipboardFile renamed without changes.
0 commit comments