lcnr
9cba14b95b
use TypingEnv
when no infcx
is available
...
the behavior of the type system not only depends on the current
assumptions, but also the currentnphase of the compiler. This is
mostly necessary as we need to decide whether and how to reveal
opaque types. We track this via the `TypingMode`.
2024-11-18 10:38:56 +01:00
Guillaume Gomez
325b70890a
Merge commit ' 3187d32079
' into subtree-update
2024-09-27 22:00:17 +02:00
Nicholas Nethercote
a8d22eb39e
Rename supertraits of CodegenMethods
.
...
Supertraits of `BuilderMethods` are all called `XyzBuilderMethods`.
Supertraits of `CodegenMethods` are all called `XyzMethods`. This commit
changes the latter to `XyzCodegenMethods`, for consistency.
2024-09-17 10:24:43 +10:00
Nicholas Nethercote
84ac80f192
Reformat use
declarations.
...
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
Guillaume Gomez
7cbe50e209
Merge commit ' 98ed962c7d
' into master
2024-07-10 12:44:23 +02:00
Oli Scherer
e2773733f3
Some comment nits
2024-03-12 08:51:20 +00:00
Oli Scherer
d3514a036d
Ensure nested allocations in statics do not get deduplicated
2024-03-12 05:53:46 +00:00
Guillaume Gomez
0d359efbe6
Merge commit ' b385428e3d
' into subtree-update_cg_gcc_2024-03-05
2024-03-05 19:58:36 +01:00
Mahdi Dibaiee
e55583c4b8
refactor(rustc_middle): Substs -> GenericArg
2023-07-14 13:27:35 +01:00
Boxy
f04b8fe0af
rename needs_infer
to has_infer
2023-04-27 08:35:19 +01:00
Antoni Boucher
6bb2af0e6d
Merge commit ' 08a6d6e16b
' into sync-cg_gcc-2023-03-04
2023-03-05 12:03:19 -05:00
Alan Egerton
695072daa6
Remove type-traversal trait aliases
2023-02-22 17:04:58 +00:00
Alan Egerton
4f0a64736b
Update TypeVisitor paths
2022-07-06 06:41:53 +01:00
Antoni Boucher
7f32dd546f
Merge commit ' 9809f5d219
' into libgccjit-codegen
2021-09-28 09:19:11 -04:00
Antoni Boucher
df487317d0
Merge commit ' 48d60ab7c5
' into libgccjit-codegen
2021-09-17 17:52:40 -04:00
Antoni Boucher
3d5d4e324d
Merge commit ' e228f0c16e
' into libgccjit-codegen
2021-08-15 08:29:07 -04:00
Antoni Boucher
f7237f16ae
Add 'compiler/rustc_codegen_gcc/' from commit ' afae271d5d
'
...
git-subtree-dir: compiler/rustc_codegen_gcc
git-subtree-mainline: ae90dcf020
git-subtree-split: afae271d5d
2021-08-12 21:53:49 -04:00