about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2024-05-01 17:37:22 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2024-05-04 14:48:42 +0200
commit1572c0dcd7b5d9e4fcd400d3b34f1d675201f150 (patch)
treefe2164aedfdc2d4709d0e9ffdd849374f8612d7d /compiler/rustc_builtin_macros/src
parent6d721dd0b80ad5382d38481a2477f7404b73e717 (diff)
downloadrust-1572c0dcd7b5d9e4fcd400d3b34f1d675201f150.tar.gz
rust-1572c0dcd7b5d9e4fcd400d3b34f1d675201f150.zip
Various improvements to entrypoint code
This moves some code around and adds some documentation comments to make
it easier to understand what's going on with the entrypoint logic, which
is a bit complicated.

The only change in behavior is consolidating the error messages for
unix_sigpipe to make the code slightly simpler.
Diffstat (limited to 'compiler/rustc_builtin_macros/src')
-rw-r--r--compiler/rustc_builtin_macros/src/test_harness.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/test_harness.rs b/compiler/rustc_builtin_macros/src/test_harness.rs
index a2015445b42..8cf431482ff 100644
--- a/compiler/rustc_builtin_macros/src/test_harness.rs
+++ b/compiler/rustc_builtin_macros/src/test_harness.rs
@@ -266,7 +266,7 @@ fn generate_test_harness(
 ///
 /// By default this expands to
 ///
-/// ```ignore UNSOLVED (I think I still need guidance for this one. Is it correct? Do we try to make it run? How do we nicely fill it out?)
+/// ```ignore (messes with test internals)
 /// #[rustc_main]
 /// pub fn main() {
 ///     extern crate test;