-
Notifications
You must be signed in to change notification settings - Fork 13.3k
replace GenericArg
with Term
where applicable
#140320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
changes to the core type system Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
a7585f1
to
85fa395
Compare
@@ -250,17 +250,17 @@ impl<'tcx> GenericArg<'tcx> { | |||
} | |||
|
|||
#[inline] | |||
pub fn as_type(self) -> Option<Ty<'tcx>> { | |||
pub fn as_region(self) -> Option<ty::Region<'tcx>> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you flip these lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
region, type, const is the correct order :<
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely do not agree. ty region const is the order in folders.
r=me after ci is green |
@bors r+ rollup |
@bors r+ approver is wrong |
💡 This pull request was already approved, no need to approve it again.
|
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#140215 (transmutability: Support char, NonZeroXxx) - rust-lang#140226 (Update wasm-component-ld to 0.5.13) - rust-lang#140317 (Remove redundant check) - rust-lang#140318 (Simply try to unpeel AsyncFnKindHelper goal in `emit_specialized_closure_kind_error`) - rust-lang#140320 (replace `GenericArg` with `Term` where applicable) - rust-lang#140325 (Grammar fixes for BufRead::has_data_left docs) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#140320 - lcnr:wf-use-term, r=compiler-errors replace `GenericArg` with `Term` where applicable r? types
r? types