Skip to content

Commit 885b63f

Browse files
committed
Remove bad-codeblock-syntax test
The test checks an ill-formed assumption. Lexer can't know if a bit of code is well-or-ill formed. Even the old lexer didnt' error for most of the code. rustc_lexer is capable of lexing everything. The more straightforward logic is to just highlight everything. If we want to guess if this is a valid rust or not, we'd better use a parser for this.
1 parent f7cbb7a commit 885b63f

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

src/test/rustdoc/bad-codeblock-syntax.rs

-42
This file was deleted.

0 commit comments

Comments
 (0)