Rollup merge of #81505 - henryboisdequin:cold_path-not-pub, r=sanxiyn
`fn cold_path` doesn't need to be pub Fixes #81429 Note: this PR also fixes a small typo that I found
This commit is contained in:
commit
ba40cea487
2 changed files with 2 additions and 2 deletions
|
@ -977,7 +977,7 @@ impl<'a> Resolver<'a> {
|
|||
});
|
||||
if let Some(def_span) = def_span {
|
||||
if span.overlaps(def_span) {
|
||||
// Don't suggest typo suggestion for itself like in the followoing:
|
||||
// Don't suggest typo suggestion for itself like in the following:
|
||||
// error[E0423]: expected function, tuple struct or tuple variant, found struct `X`
|
||||
// --> $DIR/issue-64792-bad-unicode-ctor.rs:3:14
|
||||
// |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue