error-index: Don't generate 404 instead of removing it.

This commit is contained in:
Eric Huss 2023-01-05 06:44:11 -08:00
parent f2ad85a930
commit 72c3082aab
2 changed files with 1 additions and 3 deletions

View File

@ -7,6 +7,7 @@ src = ""
git-repository-url = "https://github.com/rust-lang/rust/"
additional-css = ["error-index.css"]
additional-js = ["error-index.js"]
input-404 = ""
[output.html.search]
enable = true

View File

@ -171,9 +171,6 @@ This page lists all the error codes emitted by the Rust compiler.
</html>"#,
)?;
// No need for a 404 file, it's already handled by the server.
fs::remove_file(output_path.join("error_codes/404.html"))?;
Ok(())
}