Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00
Michael Howell
07bb2f701e
rustdoc: change .src-line-numbers > span
to .src-line-numbers > a
...
This allows people to treat them like real links, such as right-click to
copy URL, and makes the line numbers in a scraped example work at all,
when before this commit was added, they had the clickable pointer cursor
but did not actually do anything when clicked.
2022-10-31 13:59:52 -07:00
Michael Howell
669498ca0a
rustdoc: fix test cases
2022-09-15 13:14:30 -07:00
Camille GILLOT
42e4eee893
Shorten def_span for more items.
2022-07-01 17:39:19 +02:00
Guillaume Gomez
fd6b01f0e9
Add regression test for jump-to-def
2022-05-06 22:02:04 +02:00
Noah Lev
ee58c06a12
Fix warnings in rustdoc HTML tests
...
Now that compiletest denies warnings in these tests, they need fixing!
2021-11-28 11:49:12 -08:00
Guillaume Gomez
d73c0a3d69
Add test for primitive in "jump to definition" feature
2021-09-13 17:44:39 +02:00
Guillaume Gomez
ba11dc7fdd
Fix URL conflict for std type
2021-08-05 23:33:43 +02:00
Guillaume Gomez
fd69fa8670
Add missing root_path when generating links using href
2021-08-05 23:08:29 +02:00
Guillaume Gomez
1abb7faddb
Generate links for modules as well
2021-08-05 23:08:28 +02:00
Guillaume Gomez
71763a52ff
Add test for source code pages URLs
2021-08-05 23:08:28 +02:00