Skip to content
TILens What matters today in tech v0.3.2
Theme

Topic - Edition

Rust

6 items on 31 Aug 2026
Rust

Does the new `impl const Trait` works?

I ran cargo run command and got: error: expected a trait, found type --> src/main.rs:10:6 | 10 | impl const Multiplier for Math { | ^^^^^^^^^^^^^^^^ error: could not compile rusty (bin "rusty") due to 1 previous error 2…

Source: Rust Users Forum idk56