about summary refs log tree commit diff
path: root/compiler/rustc_ast
diff options
context:
space:
mode:
authorasquared31415 <34665709+asquared31415@users.noreply.github.com>2021-06-09 23:11:35 -0400
committerasquared31415 <34665709+asquared31415@users.noreply.github.com>2021-06-09 23:14:02 -0400
commit9b2ba6d1a19fb75b66db64ce6ebedc595e894107 (patch)
treef46e5486e322895685056c499d8b54567fd81b56 /compiler/rustc_ast
parent1639a16ebfaad2aa74fd535c778fd1614475b53d (diff)
downloadrust-9b2ba6d1a19fb75b66db64ce6ebedc595e894107.tar.gz
rust-9b2ba6d1a19fb75b66db64ce6ebedc595e894107.zip
Fix ICE when `main` is declared in an `extern` block
Diffstat (limited to 'compiler/rustc_ast')
-rw-r--r--compiler/rustc_ast/src/entry.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast/src/entry.rs b/compiler/rustc_ast/src/entry.rs
index 290f6006de0..c0a837985fd 100644
--- a/compiler/rustc_ast/src/entry.rs
+++ b/compiler/rustc_ast/src/entry.rs
@@ -1,3 +1,4 @@
+#[derive(Debug)]
 pub enum EntryPointType {
     None,
     MainNamed,