rust/compiler/rustc_infer/src
Matthias Krüger 23ad7a7697
Rollup merge of #90884 - Nilstrieb:fix-span-trivial-trait-bound, r=estebank
Fix span for non-satisfied trivial trait bounds

The spans for "trait bound not satisfied" errors in trivial trait bounds referenced the entire item (fn, impl, struct) before.
Now they only reference the obligation itself (`String: Copy`)

Address #90869
2021-11-17 15:58:04 +01:00
..
infer Rollup merge of #90667 - rukai:improve_static_lifetime_diagnostics, r=estebank 2021-11-17 15:57:57 +01:00
traits Fix span for non-satisfied trivial trait bounds 2021-11-14 11:38:52 +01:00
lib.rs Revert "Add rustc lint, warning when iterating over hashmaps" 2021-10-28 11:01:42 -04:00