about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorAdam Perry <lol@anp.lol>2020-01-04 22:54:09 -0800
committerGitHub <noreply@github.com>2020-01-04 22:54:09 -0800
commitb97ee0f07aca5a05bea8074d0cd1ecd73e54d1b7 (patch)
tree0ea6624091b352438695241912855bcadb823311 /src/test
parent7a6af7eb0ef685c2dfd907f7e76a876174c9f665 (diff)
Fix typo
Co-Authored-By: lzutao <taolzu@gmail.com>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/rfc-2091-track-caller/std-panic-locations.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/rfc-2091-track-caller/std-panic-locations.rs b/src/test/ui/rfc-2091-track-caller/std-panic-locations.rs
index c65027d9cac..0e622af815c 100644
--- a/src/test/ui/rfc-2091-track-caller/std-panic-locations.rs
+++ b/src/test/ui/rfc-2091-track-caller/std-panic-locations.rs
@@ -9,7 +9,7 @@ fn main() {
     // inspect the `PanicInfo` we receive to ensure the right file is the source
     std::panic::set_hook(Box::new(|info| {
         let actual = info.location().unwrap();
-        if actual.file() != file!(){
+        if actual.file() != file!() {
             eprintln!("expected a location in the test file, found {:?}", actual);
             panic!();
         }