Santiago Pastorino
b43b700250
Account for UseCloned on expr_use_visitor
2025-03-06 17:58:34 -03:00
lcnr
948cec0fad
move fn is_item_raw
to TypingEnv
2024-11-19 18:06:20 +01:00
lcnr
f51ec110a7
TypingMode 🤔
2024-10-29 17:01:24 +01:00
Daria Sukhonina
a47173c4f7
Start implementing needs_async_drop and related
2024-05-29 12:50:44 +03:00
zetanumbers
24a24ec6ba
Add simple async drop glue generation
...
Explainer: https://zetanumbers.github.io/book/async-drop-design.html
https://github.com/rust-lang/rust/pull/121801
2024-04-16 20:45:07 +03:00
John Kåre Alsaker
fff20a703d
Move expansion of query macros in rustc_middle to rustc_middle::query
2023-05-15 08:49:13 +02:00
lcnr
791ce0b7b5
remove some trait solver helpers
...
they add more complexity then they are worth. It's confusing
which of these helpers should be used in which context.
2023-03-21 09:57:20 +01:00
Cameron Steffen
283abbf0e7
Change InferCtxtBuilder from enter to build
2022-10-07 07:10:40 -05:00
Nikita Popov
c3f9403f59
Don't consider !Unpin references as noalias
...
Such structures may contain self-references, in which case the
same location may be accessible through a pointer that is not
based-on the noalias pointer.
This is still grey area as far as language semantics are concerned,
but checking for !Unpin as an indicator for self-referential
sturctures seems like a good approach for the meantime.
2021-03-21 20:10:53 +01:00
LeSeulArtichaut
f59d03038c
Move rustc_ty
-> rustc_ty_utils
2020-11-19 21:57:29 +01:00