This repository has been archived by the owner on May 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=== stdout === === stderr === error[E0412]: cannot find type `U` in this scope --> /home/runner/work/glacier/glacier/ices/82926.rs:5:44 | 5 | fn simd_insert<T>(x: T, idx: u32, val: U) -> T; | - ^ help: a type parameter with a similar name exists: `T` | | | similarly named type parameter `T` defined here error[E0658]: inline-const is experimental --> /home/runner/work/glacier/glacier/ices/82926.rs:9:5 | 9 | const { simd_insert(U, 1_u32, 42_f32) } | ^^^^^ | = 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/82926.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 `f32x3` should have an upper camel case name --> /home/runner/work/glacier/glacier/ices/82926.rs:2:8 | 2 | struct f32x3(f32, f32, f32); | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `F32x3` | = note: `#[warn(non_camel_case_types)]` on by default error[E0094]: intrinsic has wrong number of type parameters: found 1, expected 2 --> /home/runner/work/glacier/glacier/ices/82926.rs:5:19 | 5 | fn simd_insert<T>(x: T, idx: u32, val: U) -> T; | ^^^ expected 2 type parameters error[E0308]: mismatched types --> /home/runner/work/glacier/glacier/ices/82926.rs:9:25 | 9 | const { simd_insert(U, 1_u32, 42_f32) } | ^ expected `()`, found struct `f32x3` error: aborting due to 5 previous errors; 1 warning emitted Some errors have detailed explanations: E0094, E0308, E0412, E0658. For more information about an error, try `rustc --explain E0094`. ==============
- Loading branch information