We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4069dd commit 637e5e3Copy full SHA for 637e5e3
tests/spec/features/highlighting_error_output_spec.rb
@@ -30,7 +30,7 @@
30
31
scenario "error codes link to the error page" do
32
within(:output, :stderr) do
33
- expect(page).to have_link('E0107', href: /error-index.html#E0107/)
+ expect(page).to have_link('E0107', href: %r{/error_codes/E0107.html})
34
end
35
36
ui/frontend/highlighting.ts
@@ -69,7 +69,7 @@ export function configureRustErrors({
69
if (errorMatch) {
70
const [errorCode] = errorMatch;
71
env.tag = 'a';
72
- env.attributes.href = `https://doc.rust-lang.org/${getChannel()}/error-index.html#${errorCode}`;
+ env.attributes.href = `https://doc.rust-lang.org/${getChannel()}/error_codes/${errorCode}.html`;
73
env.attributes.target = '_blank';
74
}
75
0 commit comments