Remove unneeded handling of backlines in doctest attributes · rust-lang/rust@c367cc3 (original) (raw)

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
1 +
2 +running 2 tests
3 +test $DIR/comment-in-attr-134221-2.rs - (line 11) ... FAILED
4 +test $DIR/comment-in-attr-134221-2.rs - (line 7) ... ok
5 +
6 +failures:
7 +
8 +---- $DIR/comment-in-attr-134221-2.rs - (line 11) stdout ----
9 +error: unknown start of token: \
10 + --> DIR/comment−in−attr−134221−2.rs:DIR/comment-in-attr-134221-2.rs:DIR/commentinattr1342212.rs:LINE:$COL
11 + |
12 +LL | #![all\
13 + | ^
14 +
15 +error: expected one of `(`, `::`, `=`, `[`, `]`, or `{`, found `ow`
16 + --> DIR/comment−in−attr−134221−2.rs:DIR/comment-in-attr-134221-2.rs:DIR/commentinattr1342212.rs:LINE:$COL
17 + |
18 +LL | #![all\
19 + | - expected one of `(`, `::`, `=`, `[`, `]`, or `{`
20 +LL | ow(unused)]
21 + | ^^ unexpected token
22 +
23 +error: aborting due to 2 previous errors
24 +
25 +Couldn't compile the test.
26 +
27 +failures:
28 + $DIR/comment-in-attr-134221-2.rs - (line 11)
29 +
30 +test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
31 +