Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
0ec1d46
Add the new `amx` target features
sayantn Mar 4, 2025
7c2434c
Add the `movrs` target feature and `movrs_target_feature` feature gate
sayantn Mar 4, 2025
6948343
fix: Check empty SIMD vector in inline asm
eyraudh Jan 9, 2025
ff699ce
fix: running the test only on x86_64.
eyraudh Feb 3, 2025
c123adf
rustdoc js: add nonundef and use it to remove a ts-expect-error
lolbinarycat Mar 24, 2025
ccd95ac
search.js: improve typechecking by avoiding Map.has
lolbinarycat Mar 24, 2025
e9a5470
search.js: refactor handling of rawPaths in buildIndex
lolbinarycat Mar 24, 2025
49bf6ca
search.js: add undef2null and eliminate more @ts-expect-error
lolbinarycat Mar 24, 2025
1af16cd
search.js(query parser): rethrow error if it isn't a string array
lolbinarycat Mar 24, 2025
8af647c
search.js: remove another Map.has() and @ts-expect-error
lolbinarycat Mar 24, 2025
714be45
search.js: refactor transformResults
lolbinarycat Mar 24, 2025
ca514c1
search.js: fix signature of pushText
lolbinarycat Mar 24, 2025
7f14198
search.js: use @type instead of @ts-expect-error
lolbinarycat Mar 24, 2025
3245e7b
search.js: fix return type of unifyFunctionTypes
lolbinarycat Mar 24, 2025
4a00a84
search.js: give type to unifiedGenericsMgens
lolbinarycat Mar 24, 2025
523f413
search.js: give type annotation to newSolutions
lolbinarycat Mar 24, 2025
1b8b09a
search.js: fix whitespace
lolbinarycat Mar 25, 2025
74b7599
satisfy eslint
lolbinarycat Mar 27, 2025
65624d9
tester.js: ignore displayTypeSignature if it is null
lolbinarycat Mar 27, 2025
d487087
search.js: revert usage of nonundef for now (not available under test)
lolbinarycat Mar 27, 2025
4f2baaa
Do not mix normalized and unnormalized caller bounds when constructin…
compiler-errors Mar 25, 2025
e80a3e2
coverage: Tweak tests/coverage/assert-ne.rs
Zalathar Mar 29, 2025
577272e
coverage: Shrink call spans to just the function name
Zalathar Mar 29, 2025
62a533c
coverage: Instead of splitting, just discard any span that overlaps a…
Zalathar Mar 25, 2025
26cea8a
coverage: Don't split bang-macro spans, just truncate them
Zalathar Mar 25, 2025
27b866d
Add ui test ui/traits/object/suggestion-trait-object-issue-139174.rs
xizheyin Apr 1, 2025
12604fa
Skip suggest impl or dyn when poly trait is not a real trait
xizheyin Apr 1, 2025
2dc650b
replace commit placeholder in vendor status with actual commit
Shourya742 Mar 28, 2025
624eb85
chore: remove redundant backtick
highcloudwind Apr 1, 2025
d2358f7
fix link in netbsd.md
futreall Apr 1, 2025
6c3be19
Update mdbook to 0.4.48
ehuss Apr 1, 2025
770fcbf
Move test-float-parse to the 2024 edition
bjorn3 Apr 1, 2025
f922e74
Make coroutine_drop_cleanup 2024 edition compatible
bjorn3 Apr 1, 2025
a2f2943
Use the 2024 edition in ./x.py fmt
bjorn3 Apr 1, 2025
2425580
Allow formatting example/gen_block_iterate.rs
bjorn3 Apr 1, 2025
a1d34bc
move autodiff from EnzymeAD/Enzyme to our rust-lang/Enzyme soft-fork
ZuseZ4 Apr 1, 2025
5f74fa0
call `mir_promoted` inside of `do_mir_borrowck`
lcnr Mar 31, 2025
cb275d4
simplify Interner opaque types API
lcnr Mar 31, 2025
6f40f0c
rustc_target: RISC-V: add base "I"-related important extensions
a4lg Apr 2, 2025
bae53a7
Rollup merge of #135295 - eyraudh:master, r=compiler-errors
Zalathar Apr 2, 2025
5b0f658
Rollup merge of #138003 - sayantn:new-amx, r=Amanieu
Zalathar Apr 2, 2025
6aec7de
Rollup merge of #138823 - a4lg:riscv-feature-addition-base-i, r=Amanieu
Zalathar Apr 2, 2025
7f9be72
Rollup merge of #138913 - lolbinarycat:rustdoc-js-less-expect-error-p…
Zalathar Apr 2, 2025
7812409
Rollup merge of #138941 - compiler-errors:receiver-is-dispatchable-bo…
Zalathar Apr 2, 2025
8420a55
Rollup merge of #139060 - Shourya742:2025-03-28-replace-commit-with-a…
Zalathar Apr 2, 2025
1692ebd
Rollup merge of #139102 - Zalathar:no-split, r=oli-obk
Zalathar Apr 2, 2025
2311b34
Rollup merge of #139191 - lcnr:interner-opaques, r=compiler-errors
Zalathar Apr 2, 2025
2d43a8b
Rollup merge of #139200 - xizheyin:issue-139174, r=compiler-errors
Zalathar Apr 2, 2025
e89ba0b
Rollup merge of #139208 - futreall:master, r=jieyouxu
Zalathar Apr 2, 2025
cedb554
Rollup merge of #139210 - highcloudwind:master, r=aDotInTheVoid
Zalathar Apr 2, 2025
5f05d43
Rollup merge of #139212 - ehuss:update-mdbook, r=Mark-Simulacrum
Zalathar Apr 2, 2025
82f0446
Rollup merge of #139214 - bjorn3:edition_2024_rustfmt, r=compiler-errors
Zalathar Apr 2, 2025
ea51a1c
Rollup merge of #139225 - EnzymeAD:rust-lang-enzyme, r=jieyouxu
Zalathar Apr 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
search.js: use @type instead of @ts-expect-error
  • Loading branch information
lolbinarycat committed Mar 24, 2025
commit 7f141985ff337926639db092b2ecb5b05a763cd7
6 changes: 1 addition & 5 deletions src/librustdoc/html/static/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -3153,26 +3153,22 @@ class DocSearch {
}
}
};
// @ts-expect-error
/** @type {string[]} */
const type = [];
onEachBtwn(
fnInputs,
// @ts-expect-error
fnType => writeFn(fnType, type),
// @ts-expect-error
() => pushText({ name: ", ", highlighted: false }, type),
);
// @ts-expect-error
pushText({ name: " -> ", highlighted: false }, type);
onEachBtwn(
fnOutput,
// @ts-expect-error
fnType => writeFn(fnType, type),
// @ts-expect-error
() => pushText({ name: ", ", highlighted: false }, type),
);

// @ts-expect-error
return {type, mappedNames, whereClause};
};

Expand Down