about summary refs log tree commit diff
path: root/src/libsyntax_ext
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_ext
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_ext')
-rw-r--r--src/libsyntax_ext/error_codes.rs (renamed from src/libsyntax_ext/diagnostics.rs)0
-rw-r--r--src/libsyntax_ext/lib.rs2
2 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/diagnostics.rs b/src/libsyntax_ext/error_codes.rs
index 9bbd9fdec17..9bbd9fdec17 100644
--- a/src/libsyntax_ext/diagnostics.rs
+++ b/src/libsyntax_ext/error_codes.rs
diff --git a/src/libsyntax_ext/lib.rs b/src/libsyntax_ext/lib.rs
index 8371d272075..508f740cac9 100644
--- a/src/libsyntax_ext/lib.rs
+++ b/src/libsyntax_ext/lib.rs
@@ -17,7 +17,7 @@
 
 extern crate proc_macro;
 
-mod diagnostics;
+mod error_codes;
 
 mod asm;
 mod assert;