Skip to content

Commit

Permalink
FIXME(49821) remove fixme since a tip about let binding is given
Browse files Browse the repository at this point in the history
  • Loading branch information
nivkner committed Dec 19, 2018
1 parent 3773ae2 commit cf329d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-36082.ast.stderr
@@ -1,5 +1,5 @@
error[E0597]: borrowed value does not live long enough
--> $DIR/issue-36082.rs:23:19
--> $DIR/issue-36082.rs:21:19
|
LL | let val: &_ = x.borrow().0;
| ^^^^^^^^^^ - temporary value dropped here while still borrowed
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-36082.mir.stderr
@@ -1,5 +1,5 @@
error[E0716]: temporary value dropped while borrowed
--> $DIR/issue-36082.rs:23:19
--> $DIR/issue-36082.rs:21:19
|
LL | let val: &_ = x.borrow().0;
| ^^^^^^^^^^ - temporary value is freed at the end of this statement
Expand Down
2 changes: 0 additions & 2 deletions src/test/ui/issues/issue-36082.rs
Expand Up @@ -11,8 +11,6 @@
// revisions: ast mir
//[mir]compile-flags: -Z borrowck=mir

// FIXME(#49821) -- No tip about using a let binding

use std::cell::RefCell;

fn main() {
Expand Down

0 comments on commit cf329d5

Please sign in to comment.