-
Right now there are several checks done by `cargo publish`. Unfortunately there isn't a concise list of the necessary requirements for publishing a crate. The only way to tell is `cargo publish` or `c…
-
Lints:
- [x] `pub fn` changed ABI to an ABI of a different name, regardless of unwind: e.g. `"C"` to `"Rust"`, or `"system-unwind"` to `"C"`
- this changes the calling convention for the function,…
-
I tried this code:
```rust
// In a lib crate
pub trait Val {
const VAL: [u8; 8];
}
impl Val for u8 {
const VAL: [u8; 8] = [0u8; 8];
}
impl Val for u16 {
const VAL: [u8;…
-
Consider a function like this:
```rust
#[no_mangle]
extern "C" fn example() {
// does stuff
}
```
The following change is non-breaking, since it's equivalent:
```rust
#[export_name = "e…
-
There's an open proposal to add an `--msrv` flag to the compiler:
- https://github.com/rust-lang/compiler-team/issues/772
The idea is that this could be used, in a similar way to the current `--…
-
I'm not sure if there is an easy way to add this to Zola projects, but it would be nice to have basic accessibility checks in CI.
Stuff like "every `img` element has an `alt` attribute" should be eno…
-
* `error` is pretty straightforward, it is used when parsed WDL is incorrect or invalid in some way.
* `warning` should be used when encountered WDL is confusing, problematic, error-prone, etc. but n…
-
Hi!
I tried to run the benchmarks for the library with `RUST_BACKTRACE=full cargo bench --workspace --all-features -p icu_collections --bench iai_cpt` but got the following error:
```
RUST_BACK…
-
## avoid_add_all_with_singleton_collection
## Description
Call `add(foo)` over `addAll([foo])`.
## Details
*Give a detailed description that should provide context and motivation. Ideally…
-
Today, you can do:
```toml
[lints.rust]
unexpected_cfgs = "warn"
unexpected-cfgs = "allow"
```
and the behavior is unspecified.
After #13913, you can also do
```toml
[lints.rust]
unexpecte…
epage updated
1 month ago