rust/compiler/rustc_typeck
Yuki Okushi f7f80c27f2
Rollup merge of #99064 - lyming2007:issue-97687-fix, r=estebank
distinguish the method and associated function diagnostic information

Methods are defined within the context of a struct and their first parameter is always self
Associated functions don’t take self as a parameter
```
	modified:   compiler/rustc_typeck/src/check/method/suggest.rs
	modified:   src/test/ui/auto-ref-slice-plus-ref.stderr
	modified:   src/test/ui/block-result/issue-3563.stderr
	modified:   src/test/ui/issues/issue-28344.stderr
	modified:   src/test/ui/suggestions/dont-suggest-pin-array-dot-set.stderr
	modified:   src/test/ui/suggestions/suggest-methods.stderr
	modified:   src/test/ui/traits/trait-upcasting/subtrait-method.stderr
```
2022-08-26 09:51:40 +09:00
..
src Rollup merge of #99064 - lyming2007:issue-97687-fix, r=estebank 2022-08-26 09:51:40 +09:00
Cargo.toml Improve error message for unstable default body 2022-07-26 15:40:04 +04:00
README.md

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.