diff options
author | Matthew Maurer <mmaurer@google.com> | 2023-06-27 00:15:42 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-06-27 00:15:42 +0000 |
commit | 086658932e888b58cc0b5b142b1191cc838e8ffc (patch) | |
tree | 76f7103dd2954389ae44cd97b3eedf1743949cc3 /tests/fixtures/no-color/multiline_annotation2.toml | |
parent | b6dd285066fc9a179493011e9cc3e2d944213b80 (diff) | |
parent | bfa03b2a304429aeb60a3ad8e43b6c07daf6b9a2 (diff) | |
download | annotate-snippets-086658932e888b58cc0b5b142b1191cc838e8ffc.tar.gz |
Initial import annotate-snippets 0.9.1 am: 597ccd59dc am: d32ba61500 am: acdbb099bd am: a44e2bf1f4 am: bfa03b2a30
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/annotate-snippets/+/2638614
Change-Id: I633ef0a90e9e907a3a4c2303ba865d9d3bd1454e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tests/fixtures/no-color/multiline_annotation2.toml')
-rw-r--r-- | tests/fixtures/no-color/multiline_annotation2.toml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/fixtures/no-color/multiline_annotation2.toml b/tests/fixtures/no-color/multiline_annotation2.toml new file mode 100644 index 0000000..845bf9f --- /dev/null +++ b/tests/fixtures/no-color/multiline_annotation2.toml @@ -0,0 +1,18 @@ +[[slices]] +source = """ + if let DisplayLine::Source { + ref mut inline_marks, + } = body[body_idx] +""" +line_start = 139 +origin = "src/display_list.rs" +fold = false +[[slices.annotations]] +label = "missing fields `lineno`, `content`" +annotation_type = "Error" +range = [31, 128] + +[title] +label = "pattern does not mention fields `lineno`, `content`" +id = "E0027" +annotation_type = "Error" |