about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-18 14:52:45 +0000
committerbors <bors@rust-lang.org>2019-04-18 14:52:45 +0000
commitd6f513ec7d1e83c8689f94fb48686dd11f1d1c80 (patch)
treeffac5f0c321b75165397cf045d60ed31c171a0fa /src/libsyntax
parentbf843eb9c2d48a80a5992a5d60858e27269f9575 (diff)
parenta1d2f7222cf1f5c4344a918251c7f37d252c2434 (diff)
downloadrust-d6f513ec7d1e83c8689f94fb48686dd11f1d1c80.tar.gz
rust-d6f513ec7d1e83c8689f94fb48686dd11f1d1c80.zip
Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov
Rename files about error codes

fixes #60017

This PR will be failed in tidy.

<details>
<summary>The log is here:</summary>

```
tidy check
tidy error: duplicate error code: 411
tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:83:             __diagnostic_used!(E0411);
tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:84:             err.code(DiagnosticId::Error("E0411".to_owned()));
tidy error: duplicate error code: 424
tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:90:             debug!("smart_resolve_path_fragment: E0424, source={:?}", source);
tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:92:             __diagnostic_used!(E0424);
tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:93:             err.code(DiagnosticId::Error("E0424".to_owned()));
some tidy checks failed
```

</details>

I'd like to fix this but I don't know what to do.
I will work on later. Please let me know if you have any solutions.

r? @petrochenkov
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/error_codes.rs (renamed from src/libsyntax/diagnostic_list.rs)0
-rw-r--r--src/libsyntax/lib.rs2
2 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/error_codes.rs
index ac24475cab8..ac24475cab8 100644
--- a/src/libsyntax/diagnostic_list.rs
+++ b/src/libsyntax/error_codes.rs
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index 1486909b276..db10ab7af5a 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -114,7 +114,7 @@ pub mod diagnostics {
 
 // N.B., this module needs to be declared first so diagnostics are
 // registered before they are used.
-pub mod diagnostic_list;
+pub mod error_codes;
 
 pub mod util {
     pub mod lev_distance;