提交 4470b1ce 编写于 作者: C csmoe

mark fix as MaybeIncorrect

上级 912691b3
......@@ -3020,7 +3020,7 @@ fn smart_resolve_path_fragment(&mut self,
span,
"did you mean",
"self".to_string(),
Applicability::MachineApplicable,
Applicability::MaybeIncorrect,
);
}
......
......@@ -5,7 +5,7 @@ LL | this.x
| ^^^^
| |
| not found in this scope
| help: do you mean: `self`
| help: did you mean: `self`
error[E0425]: cannot find value `this` in this scope
--> $DIR/suggest-self.rs:36:9
......@@ -14,7 +14,7 @@ LL | this.foo()
| ^^^^
| |
| not found in this scope
| help: do you mean: `self`
| help: did you mean: `self`
error[E0425]: cannot find value `my` in this scope
--> $DIR/suggest-self.rs:41:9
......@@ -23,7 +23,7 @@ LL | my.bar()
| ^^
| |
| not found in this scope
| help: do you mean: `self`
| help: did you mean: `self`
error: aborting due to 3 previous errors
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册