From c82478b716d8a3cadb720fb9bed8f8c1b98ba971 Mon Sep 17 00:00:00 2001 From: rustbot <rustbot@users.noreply.github.com> Date: Wed, 10 Nov 2021 12:06:40 +0000 Subject: [PATCH] ices/82926.rs: fixed with errors === 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 <https://github.com/rust-lang/rust/issues/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 <https://github.com/rust-lang/rust/issues/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`. ============== --- {ices => fixed}/82926.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/82926.rs (100%) diff --git a/ices/82926.rs b/fixed/82926.rs similarity index 100% rename from ices/82926.rs rename to fixed/82926.rs