about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-03-04 19:37:04 -0800
committerGitHub <noreply@github.com>2025-03-04 19:37:04 -0800
commitc32124fac051b1257f9db56875e9bd1044babdff (patch)
tree799e91b91fb5ad238f1e29d153dbfab270f6cbd1 /compiler/rustc_mir_transform/src/coverage/query.rs
parentdfbd9b2d810e9a46c1be84e5c63228b7cbebbfe5 (diff)
parent892016766a70e929f9325f315d0a9fd953f54853 (diff)
downloadrust-c32124fac051b1257f9db56875e9bd1044babdff.tar.gz
rust-c32124fac051b1257f9db56875e9bd1044babdff.zip
Rollup merge of #137981 - lolbinarycat:rustdoc-js-less-expect-error, r=notriddle
rustdoc search: increase strictness of typechecking

r? `@notriddle`

The signature of `makePrimitiveElement` is now more accurate.

I believe the intent of the code is that `name` cannot be null if `bindingName.name` is null, and I believe typescript is expressive enough to encode this, but I'm not quite sure how, or if this would be desirable.

I'm also introducing mapped types into `rustdoc.d.ts`, but I think it's worth it in order to avoid keeping two interfaces in sync.

I may add more commits onto this to remove more ``@ts-expect-error`` instances.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions