rust/compiler/rustc_hir_analysis/src
bors 501ad021b9 Auto merge of #108682 - est31:simplify_dirs, r=davidtwco
Simplify message paths

This makes it easier to open the messages file. Right now I have to first click on the `locales` dir to open it, and then on the `en-US.ftl` file. `Cargo.toml` and `build.rs` files are also in the top level, and I think there should not be more than one file, so a directory isn't really needed. The [chosen strategy for pontoon adoption](https://rust-lang.zulipchat.com/#narrow/stream/336883-i18n/topic/pontoon.20and.20next.20steps) is out of tree. Even if this descision is changed in the future, the `messages.ftl` approach is also compatible with non-english translations living in-tree, as long as the non-english translations don't live in the `compiler/rustc_foo/` directories but in different ones. That would also be helpful for grepability purposes.

The commit was the result of automated changes:

```
for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done

for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done
```

r? `@davidtwco`
2023-03-12 03:51:21 +00:00
..
astconv Auto merge of #108700 - spastorino:new-rpitit-impl-side-2, r=compiler-errors 2023-03-12 00:49:35 +00:00
check Auto merge of #108700 - spastorino:new-rpitit-impl-side-2, r=compiler-errors 2023-03-12 00:49:35 +00:00
coherence Remove body_def_id from Inherited 2023-03-09 23:25:23 +00:00
collect Auto merge of #108700 - spastorino:new-rpitit-impl-side-2, r=compiler-errors 2023-03-12 00:49:35 +00:00
impl_wf_check Remove body_def_id from Inherited 2023-03-09 23:25:23 +00:00
outlives rustc_middle: Remove trait DefIdTree 2023-03-02 23:46:44 +04:00
structured_errors migrate rustc_hir_analysis to session diagnostic 2023-03-05 00:01:55 +03:00
variance Rollup merge of #108460 - obeis:hir-analysis-migrate-diagnostics-2, r=compiler-errors 2023-03-07 19:57:43 +01:00
autoderef.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
bounds.rs Rework hir Bounds collection 2022-12-28 23:40:09 +00:00
check_unused.rs Remove last instances of HashSet in query result types. 2023-03-01 10:20:45 +01:00
collect.rs Rename many interner functions. 2023-02-24 07:32:24 +11:00
constrained_generic_params.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
errors.rs Rollup merge of #108930 - Ezrashaw:better-error-for-manual-fn-impl, r=petrochenkov 2023-03-10 19:59:19 +01:00
hir_wf_check.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
impl_wf_check.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00
structured_errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00