rust/compiler/rustc_hir_analysis/src
Amanieu d'Antras 4d747128eb Tweak type inference for const operands in inline asm
Previously these would be treated like integer literals and default to
`i32` if a type could not be determined. To allow for
forward-compatibility with `str` constants in the future, this PR
changes type inference to use an unbound type variable instead.

The actual type checking is deferred until after typeck where we still
ensure that the final type for the `const` operand is an integer type.
2024-07-25 20:12:14 +01:00
..
check Tweak type inference for const operands in inline asm 2024-07-25 20:12:14 +01:00
coherence Move all error reporting into rustc_trait_selection 2024-07-21 22:34:35 -04:00
collect Just totally fully deny late-bound consts 2024-07-20 19:45:24 -04:00
errors Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
hir_ty_lowering Rollup merge of #127814 - folkertdev:c-cmse-nonsecure-call-error-messages, r=oli-obk 2024-07-19 20:03:56 +02:00
impl_wf_check Move all error reporting into rustc_trait_selection 2024-07-21 22:34:35 -04:00
outlives Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
variance Slightly refactor the dumping of HIR analysis data 2024-06-20 20:31:32 +02:00
autoderef.rs Make builtin_deref just return a Ty 2024-05-09 22:55:00 -04:00
bounds.rs Add constness to TraitDef 2024-07-03 15:37:34 +00:00
check_unused.rs Remove LintDiagnostic::msg 2024-05-23 04:08:35 +02:00
collect.rs Auto merge of #127658 - compiler-errors:precise-capturing-rustdoc-cross, r=fmease 2024-07-20 11:03:35 +00:00
constrained_generic_params.rs Auto merge of #125076 - compiler-errors:alias-term, r=lcnr 2024-05-13 22:20:43 +00:00
errors.rs Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-errors 2024-07-21 05:36:21 +00:00
hir_wf_check.rs Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03:00
impl_wf_check.rs Use structured suggestions for unconstrained generic parameters on impl blocks 2024-07-19 14:21:56 +00:00
lib.rs Remove structured_errors module 2024-07-08 19:29:55 +00:00