rust/src
bors b6e5e3ffbb Auto merge of #125289 - WaffleLapkin:never-obligations, r=compiler-errors
Implement lint for obligations broken by never type fallback change

This is the second (and probably last major?) lint required for the never type fallback change.

The idea is to check if the code errors with `fallback = ()` and if it errors with `fallback = !` and if it went from "ok" to "error", lint.

I'm not happy with the diagnostic, ideally we'd highlight what bound is the problem. But I'm really unsure how to do that  (cc `@jackh726,` iirc you had some ideas?)

r? `@compiler-errors`

Thanks `@BoxyUwU` with helping with trait solver stuff when I was implementing the initial version of this lint.

Tracking:
- https://github.com/rust-lang/rust/issues/123748
2024-06-13 14:05:19 +00:00
..
bootstrap Auto merge of #126345 - compiler-errors:rollup-lue8u92, r=compiler-errors 2024-06-12 20:48:06 +00:00
ci Rollup merge of #126039 - dpaoliello:arm64ecbuild, r=davidtwco 2024-06-12 15:44:57 +02:00
doc Rollup merge of #126356 - epage:check-cfg, r=Urgau 2024-06-12 20:03:22 -07:00
etc Remove path choice from x fmt and add --all option. 2024-05-29 16:24:48 +10:00
librustdoc Rollup merge of #126159 - RalfJung:scalarint-size-mismatch, r=oli-obk 2024-06-10 21:12:25 +02:00
llvm-project@5a5152f653 Update to LLVM 18.1.7 2024-06-06 08:37:27 +02:00
rustdoc-json-types Remove Type from rustdoc Const 2024-06-05 22:25:42 +01:00
tools Auto merge of #125289 - WaffleLapkin:never-obligations, r=compiler-errors 2024-06-13 14:05:19 +00:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0 bump stage0 compiler 2024-06-11 15:10:03 +02:00
version set version number to 1.81.0 2024-06-07 10:37:34 +02:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.