rust/compiler/rustc_codegen_llvm/src
Nicholas Nethercote ed76b0b882 Rename consuming chaining methods on DiagnosticBuilder.
In #119606 I added them and used a `_mv` suffix, but that wasn't great.

A `with_` prefix has three different existing uses.
- Constructors, e.g. `Vec::with_capacity`.
- Wrappers that provide an environment to execute some code, e.g.
  `with_session_globals`.
- Consuming chaining methods, e.g. `Span::with_{lo,hi,ctxt}`.

The third case is exactly what we want, so this commit changes
`DiagnosticBuilder::foo_mv` to `DiagnosticBuilder::with_foo`.

Thanks to @compiler-errors for the suggestion.
2024-01-10 07:40:00 +11:00
..
back Rename {create,emit}_warning as {create,emit}_warn. 2024-01-10 07:33:06 +11:00
coverageinfo coverage: Avoid a query stability hazard in function_coverage_map 2024-01-02 22:57:04 +11:00
debuginfo Remove movability from TyKind::Coroutine 2023-12-28 16:35:01 +00:00
llvm Update to bitflags 2 in the compiler 2023-12-30 18:17:28 +01:00
abi.rs Separate immediate and in-memory ScalarPair representation 2023-12-15 17:42:05 +01:00
allocator.rs Add -Zuse-sync-unwind 2023-12-31 15:27:43 +08:00
asm.rs Support reg_addr register class in s390x inline assembly 2024-01-03 18:00:37 +09:00
attributes.rs Rollup merge of #117744 - quininer:add-z-sync-uw, r=bjorn3 2024-01-09 05:33:20 +01:00
base.rs compiler: replace cstr macro with c str literals in compiler and few other c str replacements 2023-12-03 14:54:09 +03:00
builder.rs Auto merge of #118991 - nikic:scalar-pair, r=nagisa 2024-01-05 14:31:56 +00:00
callee.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
common.rs ctfe interpreter: extend provenance so that it can track whether a pointer is immutable 2023-12-07 17:46:36 +01:00
consts.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
context.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
declare.rs Add unstable -Zdefault-hidden-visibility cmdline flag for rustc. 2023-12-13 21:14:23 +00:00
errors.rs Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
intrinsic.rs Auto merge of #118991 - nikic:scalar-pair, r=nagisa 2024-01-05 14:31:56 +00:00
lib.rs update cfg(bootstrap)s 2023-12-22 11:14:11 +01:00
llvm_util.rs Rename {create,emit}_warning as {create,emit}_warn. 2024-01-10 07:33:06 +11:00
mono_item.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
type_.rs remove unused pub fn 2023-11-23 14:11:02 +03:00
type_of.rs Auto merge of #118991 - nikic:scalar-pair, r=nagisa 2024-01-05 14:31:56 +00:00
va_arg.rs cg_llvm: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:17 -04:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00