diff options
Diffstat (limited to 'tests/ui/suggestions/shadowed-lplace-method.stderr')
| -rw-r--r-- | tests/ui/suggestions/shadowed-lplace-method.stderr | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/suggestions/shadowed-lplace-method.stderr b/tests/ui/suggestions/shadowed-lplace-method.stderr index 3e49716b031..aab9e442007 100644 --- a/tests/ui/suggestions/shadowed-lplace-method.stderr +++ b/tests/ui/suggestions/shadowed-lplace-method.stderr @@ -18,8 +18,9 @@ LL | *rc.borrow_mut() = false; | ^^^^^^^^^^ refers to `std::borrow::BorrowMut::borrow_mut` help: you might have meant to call the other method; you can use the fully-qualified path to call it explicitly | -LL | *std::cell::RefCell::<_>::borrow_mut(&rc) = false; - | +++++++++++++++++++++++++++++++++++++ ~ +LL - *rc.borrow_mut() = false; +LL + *std::cell::RefCell::<_>::borrow_mut(&rc) = false; + | error: aborting due to 1 previous error |
