summary refs log tree commit diff
path: root/compiler/rustc_hir/src/lang_items.rs
AgeCommit message (Expand)AuthorLines
2023-02-26Remove `from_fn` lang itemNilstrieb-2/+0
2023-02-07Rename PointerSized to PointerLikeMichael Goulet-1/+1
2023-01-26Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obkbors-0/+8
2023-01-19Transform async ResumeTy in generator transformArpad Borsos-0/+1
2023-01-11Turn format arguments types into lang items.Mara Bos-0/+8
2022-12-22abort immediately on bad mem::zeroed/uninitRalf Jung-2/+3
2022-12-19Revert "Replace usage of `ResumeTy` in async lowering with `Context`"Andrew Pollack-1/+2
2022-12-06Replace usage of `ResumeTy` in async lowering with `Context`Arpad Borsos-2/+1
2022-11-24Avoid `GenFuture` shim when compiling async constructsArpad Borsos-1/+5
2022-11-20Auto merge of #98914 - fee1-dead-contrib:min-deref-patterns, r=compiler-errorsbors-0/+2
2022-11-18Auto merge of #104591 - Manishearth:rollup-b3ser4e, r=Manishearthbors-0/+2
2022-11-18Enforce that dyn* casts are actually pointer-sizedMichael Goulet-0/+2
2022-11-17Add variant_name function to `LangItem`Philipp Krones-0/+8
2022-11-17Minimal implementation of implicit deref patternsDeadbeef-0/+2
2022-10-31Rewrite implementation of `#[alloc_error_handler]`Amanieu d'Antras-4/+1
2022-10-29Simplify lang item groupsCameron Steffen-70/+62
2022-10-29Use an array in LanguageItemsCameron Steffen-13/+12
2022-10-29Factor out ITEM_REFSCameron Steffen-12/+14
2022-10-29Encode LangItem directlyCameron Steffen-6/+1
2022-10-29Improve LanguageItems apiCameron Steffen-21/+38
2022-09-12Auto merge of #100251 - compiler-errors:tuple-trait-2, r=jackh726bors-0/+2
2022-09-08Generator return doesn't need to be a lang itemMichael Goulet-1/+0
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-2/+0
2022-09-04Auto merge of #100726 - jswrenn:transmute, r=oli-obkbors-1/+2
2022-08-25allow non-monomorphize modules to access hard-coded error message through new...Nathan Stocks-3/+4
2022-08-22safe transmute: use `Assume` struct to provide analysis optionsJack Wrenn-1/+2
2022-08-07Add Tuple marker traitMichael Goulet-0/+2
2022-07-27Initial (incomplete) implementation of transmutability trait.Jack Wrenn-0/+3
2022-07-20Use FxIndexMap instead of otherwise unused StableMap for WEAK_ITEMS_REFS.Michael Woerister-3/+3
2022-06-16Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`Maybe Waffle-2/+2
2022-05-05generalize "incoherent impls" impl for custom typeslcnr-2/+0
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-0/+1
2022-04-14library: Move `CStr` to libcore, and `CString` to liballocVadim Petrochenkov-0/+2
2022-03-30remove now unnecessary lang itemslcnr-30/+0
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-1/+1
2022-03-21Add `Destructible` for replacing `~const Drop`Deadbeef-0/+1
2022-02-12Rebased and improved errorsDeadbeef-2/+3
2022-02-12Improve error messages even moreDeadbeef-5/+6
2022-01-31Take in account the unreachable! macro in the non_fmt_panic lintLoïc BRANSTETT-1/+0
2022-01-17Change TerminatorKind::Abort to call the panic handler instead ofAmanieu d'Antras-0/+1
2022-01-09Clean up lang_items::extractEric Huss-12/+4
2021-12-03Auto merge of #90737 - eholk:intofuture, r=tmandrybors-0/+1
2021-11-23Add generator lang-itemMichael Goulet-0/+1
2021-11-22Reintroduce `into_future` in `.await` desugaringEric Holk-0/+1
2021-10-31Require `panic` and `panic_bounds_check` to be non-genericGary Guo-2/+2
2021-10-20Rollup merge of #88860 - nbdd0121:panic, r=m-ou-seYuki Okushi-1/+0
2021-10-19Deduplicate panic_fmtGary Guo-1/+0
2021-10-12Add const_eval_select intrinsicDeadbeef-0/+2
2021-09-30Rollup merge of #88782 - asquared31415:issue-79559, r=cjgillotManish Goregaokar-1/+1
2021-09-15Allow `panic!("{}", computed_str)` in const fn.Gary Guo-0/+1