This repository was archived by the owner on May 23, 2024. It is now read-only.
Conversation
=== stdout ===
=== stderr ===
error[E0412]: cannot find type `T` in this scope
--> /home/runner/work/glacier/glacier/ices/83837.rs:5:23
|
5 | fn simd_insert(x: T, idx: u32, val: U);
| ^ not found in this scope
error[E0412]: cannot find type `U` in this scope
--> /home/runner/work/glacier/glacier/ices/83837.rs:5:41
|
5 | fn simd_insert(x: T, idx: u32, val: U);
| ^ not found in this scope
error[E0658]: inline-const is experimental
--> /home/runner/work/glacier/glacier/ices/83837.rs:9:5
|
9 | const { simd_insert(U, 0x1319_8a2e, 42_u16) }
| ^^^^^
|
= note: see issue #76001 <rust-lang/rust#76001> for more information
= help: add `#![feature(inline_const)]` to the crate attributes to enable
error[E0658]: platform intrinsics are experimental and possibly buggy
--> /home/runner/work/glacier/glacier/ices/83837.rs:3:8
|
3 | extern "platform-intrinsic" {
| ^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #27731 <rust-lang/rust#27731> for more information
= help: add `#![feature(platform_intrinsics)]` to the crate attributes to enable
warning: type `u16x2` should have an upper camel case name
--> /home/runner/work/glacier/glacier/ices/83837.rs:2:8
|
2 | struct u16x2(u16, u16);
| ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `U16x2`
|
= note: `#[warn(non_camel_case_types)]` on by default
error[E0094]: intrinsic has wrong number of type parameters: found 0, expected 2
--> /home/runner/work/glacier/glacier/ices/83837.rs:5:19
|
5 | fn simd_insert(x: T, idx: u32, val: U);
| ^ expected 2 type parameters
error: aborting due to 5 previous errors; 1 warning emitted
Some errors have detailed explanations: E0094, E0412, E0658.
For more information about an error, try `rustc --explain E0094`.
==============
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue: rust-lang/rust#83837