summary refs log tree commit diff
path: root/src/test/ui/allocator
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2020-01-22 01:41:44 +0000
committervarkor <github@varkor.com>2020-01-24 16:24:49 +0000
commitf4f96e294335de13bc7341c626837affdb2e4a45 (patch)
tree9099bdacdf568fdbccfca09142a7b49342b850fc /src/test/ui/allocator
parentdee12bb2b7d75cce8fc8f21b5d7ea0da920df5e5 (diff)
downloadrust-f4f96e294335de13bc7341c626837affdb2e4a45.tar.gz
rust-f4f96e294335de13bc7341c626837affdb2e4a45.zip
Normalise diagnostics with respect to "the X is declared/defined here"
Diffstat (limited to 'src/test/ui/allocator')
-rw-r--r--src/test/ui/allocator/two-allocators.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/allocator/two-allocators.stderr b/src/test/ui/allocator/two-allocators.stderr
index 35d9f0f42f0..da636a5a567 100644
--- a/src/test/ui/allocator/two-allocators.stderr
+++ b/src/test/ui/allocator/two-allocators.stderr
@@ -2,7 +2,7 @@ error: cannot define multiple global allocators
   --> $DIR/two-allocators.rs:6:1
    |
 LL | static A: System = System;
-   | -------------------------- previous global allocator is defined here
+   | -------------------------- previous global allocator defined here
 LL | #[global_allocator]
 LL | static B: System = System;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot define a new global allocator