{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifnq5x5axopmcsyvtipky57afiiyiygninw65n7xdee3p4omuehxq",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mpp4t3awzdc2"
},
"path": "/t/traits-for-function-items/22815#post_13",
"publishedAt": "2026-07-02T21:04:15.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"Zero-sized assert during type checking - help - The Rust Programming Language Forum"
],
"textContent": "Thanks. It does fail with `cargo build`, but not with `cargo check`. I was using the playground link, and it's \"BUILD\" must be a `cargo check`.\n\nThat difference between `cargo check` and `cargo build` has existed at least since 2022: Zero-sized assert during type checking - help - The Rust Programming Language Forum",
"title": "Traits for function items"
}