From 4fd8cfd6adc554752a63aed9ed71d44b372ec4dc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 23 Mar 2019 10:53:48 +0300 Subject: replace todo with fixme --- crates/ra_syntax/src/validation/char.rs | 2 +- crates/ra_syntax/tests/test.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_syntax') diff --git a/crates/ra_syntax/src/validation/char.rs b/crates/ra_syntax/src/validation/char.rs index 3169ed590..c874e5d08 100644 --- a/crates/ra_syntax/src/validation/char.rs +++ b/crates/ra_syntax/src/validation/char.rs @@ -85,7 +85,7 @@ pub(super) fn is_ascii_escape(code: char) -> bool { fn validate_ascii_code_escape(text: &str, range: TextRange, errors: &mut Vec) { // An AsciiCodeEscape has 4 chars, example: `\xDD` if !text.is_ascii() { - // TODO: Give a more precise error message (say what the invalid character was) + // FIXME: Give a more precise error message (say what the invalid character was) errors.push(SyntaxError::new(AsciiCodeEscapeOutOfRange, range)); } else if text.chars().count() < 4 { errors.push(SyntaxError::new(TooShortAsciiCodeEscape, range)); diff --git a/crates/ra_syntax/tests/test.rs b/crates/ra_syntax/tests/test.rs index 537b01368..276756c85 100644 --- a/crates/ra_syntax/tests/test.rs +++ b/crates/ra_syntax/tests/test.rs @@ -61,7 +61,7 @@ fn reparse_fuzz_tests() { } /// Test that Rust-analyzer can parse and validate the rust-analyser -/// TODO: Use this as a benchmark +/// FIXME: Use this as a benchmark #[test] fn self_hosting_parsing() { use std::ffi::OsStr; -- cgit v1.2.3