Skip to content

Commit 8b5b6d0

Browse files
committed
add fixme to improve error matching
1 parent 2e527f0 commit 8b5b6d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/ui/macros/borrowck-error-in-macro.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ aux-build: borrowck-error-in-macro.rs
22
//@ error-pattern: a call in this macro requires a mutable binding due to mutable borrow of `d`
3+
//FIXME: remove error-pattern (see #141896)
34

45
extern crate borrowck_error_in_macro as a;
56

tests/ui/macros/borrowck-error-in-macro.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0596]: cannot borrow value as mutable, as it is not declared as mutable
2-
--> $DIR/borrowck-error-in-macro.rs:6:1
2+
--> $DIR/borrowck-error-in-macro.rs:7:1
33
|
44
LL | a::ice! {}
55
| ^^^^^^^^^^

0 commit comments

Comments
 (0)