rust/compiler/rustc_middle/src
bors 6cbf0926d5 Auto merge of #121728 - tgross35:f16-f128-step1-ty-updates, r=compiler-errors
Add stubs in IR and ABI for `f16` and `f128`

This is the very first step toward the changes in https://github.com/rust-lang/rust/pull/114607 and the [`f16` and `f128` RFC](https://rust-lang.github.io/rfcs/3453-f16-and-f128.html). It adds the types to `rustc_type_ir::FloatTy` and `rustc_abi::Primitive`, and just propagates those out as `unimplemented!` stubs where necessary.

These types do not parse yet so there is no feature gate, and it should be okay to use `unimplemented!`.

The next steps will probably be AST support with parsing and the feature gate.

r? `@compiler-errors`
cc `@Nilstrieb` suggested breaking the PR up in https://github.com/rust-lang/rust/pull/120645#issuecomment-1925900572
2024-03-01 03:36:11 +00:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Allow AST and HIR visitors to return ControlFlow 2024-02-18 03:49:28 -05:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer add comment 2024-02-22 18:54:51 +01:00
middle Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
mir Rollup merge of #121782 - RalfJung:mutable-ref-in-static, r=oli-obk 2024-02-29 20:50:04 +01:00
query compiler: use addr_of! 2024-02-24 18:53:48 +03:00
thir Remove thir::Guard 2024-01-05 10:56:59 +00:00
traits Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
ty Auto merge of #121728 - tgross35:f16-f128-step1-ty-updates, r=compiler-errors 2024-03-01 03:36:11 +00:00
util Convert bugs back to delayed_bugs. 2024-02-21 10:35:54 +11:00
arena.rs Rename some normalization-related items 2024-02-20 17:30:49 +01:00
error.rs Rename DiagnosticArg{,Map,Name,Value} as DiagArg{,Map,Name,Value}. 2024-02-28 08:55:37 +11:00
lib.rs Rollup merge of #120742 - Nadrieril:use-min_exh_pats, r=compiler-errors 2024-02-23 17:02:03 +01:00
lint.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
macros.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs Remove outdated references to librustc_middle. 2024-01-05 16:34:52 +00:00
thir.rs Rollup merge of #121376 - Nadrieril:mir-half-ranges, r=pnkfelix 2024-02-29 17:08:37 +01:00
values.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00