diff options
author | Benjamin Coenen <[email protected]> | 2020-04-12 16:45:07 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-04-12 16:58:06 +0100 |
commit | 064095742980d4c825391f643e437520599f51d8 (patch) | |
tree | 339ac072c6d7c76451804db1f85bc673b9798137 /xtask/tests | |
parent | 93bfc2d05d36a47dc05a1799210327473d702dbc (diff) |
Improve autocompletion by looking on the type and name, change implementation, include sort in Completions struct
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'xtask/tests')
-rw-r--r-- | xtask/tests/tidy-tests/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/tests/tidy-tests/main.rs b/xtask/tests/tidy-tests/main.rs index e5247854a..b3d6ddac9 100644 --- a/xtask/tests/tidy-tests/main.rs +++ b/xtask/tests/tidy-tests/main.rs | |||
@@ -34,7 +34,7 @@ fn check_todo(path: &Path, text: &str) { | |||
34 | } | 34 | } |
35 | if text.contains("TODO") || text.contains("TOOD") || text.contains("todo!") { | 35 | if text.contains("TODO") || text.contains("TOOD") || text.contains("todo!") { |
36 | panic!( | 36 | panic!( |
37 | "\nTODO markers should not be committed to the master branch,\n\ | 37 | "\nTODO markers or todo! macros should not be committed to the master branch,\n\ |
38 | use FIXME instead\n\ | 38 | use FIXME instead\n\ |
39 | {}\n", | 39 | {}\n", |
40 | path.display(), | 40 | path.display(), |