]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #106754 - compiler-errors:ty-infer-method-is-confusing, r=lcnr
authorYuki Okushi <huyuumi.dev+love@gmail.com>
Fri, 13 Jan 2023 07:54:23 +0000 (16:54 +0900)
committerGitHub <noreply@github.com>
Fri, 13 Jan 2023 07:54:23 +0000 (16:54 +0900)
Rename `Ty::is_ty_infer` -> `Ty::is_ty_or_numeric_infer`

Makes sure people are aware that they may have a type variable *or* an int/float variable.

r? `@oli-obk` https://github.com/rust-lang/rust/pull/106322#issuecomment-1376913539 but I could instead implement your solution, let me know.

(This will conflict with #106322 for now, ignore that :smile:)


Trivial merge