about summary refs log tree commit diff
path: root/src/test/ui/missing
diff options
context:
space:
mode:
authorHirochika Matsumoto <git@hkmatsumoto.com>2021-10-03 15:53:02 +0900
committerHirochika Matsumoto <git@hkmatsumoto.com>2021-10-03 16:16:28 +0900
commit3818981ca12ca79dc446fad849d48ebe1257cbc7 (patch)
tree35f2bda3785b1c5b5c167c3018e4c2758b8f5eb0 /src/test/ui/missing
parent77f1e504a953efbbd59673a75c3cd530d5b3c530 (diff)
downloadrust-3818981ca12ca79dc446fad849d48ebe1257cbc7.tar.gz
rust-3818981ca12ca79dc446fad849d48ebe1257cbc7.zip
Practice diagnostic message convention
Diffstat (limited to 'src/test/ui/missing')
-rw-r--r--src/test/ui/missing/missing-alloc_error_handler.stderr4
-rw-r--r--src/test/ui/missing/missing-allocator.stderr2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/missing/missing-alloc_error_handler.stderr b/src/test/ui/missing/missing-alloc_error_handler.stderr
index 511d0788b40..ed84493deb5 100644
--- a/src/test/ui/missing/missing-alloc_error_handler.stderr
+++ b/src/test/ui/missing/missing-alloc_error_handler.stderr
@@ -1,6 +1,6 @@
-error: `#[alloc_error_handler]` function required, but not found.
+error: `#[alloc_error_handler]` function required, but not found
 
-note: Use `#![feature(default_alloc_error_handler)]` for a default error handler.
+note: Use `#![feature(default_alloc_error_handler)]` for a default error handler
 
 error: aborting due to previous error
 
diff --git a/src/test/ui/missing/missing-allocator.stderr b/src/test/ui/missing/missing-allocator.stderr
index 59648c42a5f..0da5651c18c 100644
--- a/src/test/ui/missing/missing-allocator.stderr
+++ b/src/test/ui/missing/missing-allocator.stderr
@@ -1,4 +1,4 @@
-error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait.
+error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait
 
 error: aborting due to previous error