rust/compiler/rustc_trait_selection/src
Matthias Krüger 62f2ec9b59
Rollup merge of #130275 - compiler-errors:extern-crate, r=lcnr
Don't call `extern_crate` when local crate name is the same as a dependency and we have a trait error

#124944 implemented logic to point out when a trait bound failure involves a *trait* and *type* who come from identically named but different crates. This logic calls the `extern_crate` query which is not valid on `LOCAL_CRATE` cnum, so let's filter that out eagerly.

Fixes #130272
Fixes #129184
2024-09-17 17:28:33 +02:00
..
error_reporting Rollup merge of #130275 - compiler-errors:extern-crate, r=lcnr 2024-09-17 17:28:33 +02:00
errors Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve more eagerly discard constraints on overflow 2024-09-12 14:32:44 +02:00
traits Rename and reorder lots of lifetimes. 2024-09-13 15:46:20 +10:00
errors.rs Emit specific message for time<0.3.35 inference failure 2024-08-28 22:53:02 +00:00
infer.rs Remove #[macro_use] extern crate tracing from rustc_trait_selection. 2024-08-30 17:14:59 +10:00
lib.rs Add warn(unreachable_pub) to rustc_trait_selection. 2024-09-03 08:49:54 +10:00
regions.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve.rs Rename a bunch of things 2024-06-21 12:32:05 -04:00