Skip to content

Commit 81c27c6

Browse files
committed
Add another FIXME about suggestions
1 parent 9a0020a commit 81c27c6

File tree

2 files changed

+83
-81
lines changed

2 files changed

+83
-81
lines changed

src/test/ui/suggestions/dont-suggest-ref.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@ pub fn main() {
263263
//~| HELP consider removing the `&mut`
264264
//~| SUGGESTION X(_t)
265265

266-
// -------- move from tuple of &Either/&X (no suggestions) --------
266+
// -------- move from tuple of &Either/&X --------
267+
268+
// FIXME: These should have suggestions.
267269

268270
let (&X(_t),) = (&x.clone(),);
269271
//~^ ERROR cannot move

0 commit comments

Comments
 (0)