If we can panic in constants, why do we need compile_error at all?
-
-
-
Isn't rust all about compile-time checks and not runtime failures?
- Još 4 druga odgovora
Novi razgovor -
-
-
Also for warnings I'm envisioning something similar tohttps://github.com/rust-lang/rust/issues/58278 …
-
It's runtime once again. I want something at compile-time.
Kraj razgovora
Novi razgovor -
-
-
For the allow/deny question: has something like `compile_warning!(ident, "fmt", ...)` with `#[allow(mycrate::ident)` been proposed? On the other hand, that may leak dependencies, and I can't think of any example uses...
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.