commit | 9cd3b4c26577446f2b2e92999ab89dc5469efda4 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Nov 11 16:47:32 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Nov 11 16:47:35 2018 -0800 |
tree | b1c45a4b339f66abe3e30301145cf5992c0e0d9d | |
parent | 102ee29e36c15ca68a6f6ec7d37b04571997a8f4 [diff] [blame] |
Remove proc_macro2::FileName in favor of PathBuf
diff --git a/tests/test.rs b/tests/test.rs index 5d2fb85..9d37cf3 100644 --- a/tests/test.rs +++ b/tests/test.rs
@@ -203,7 +203,7 @@ assert_eq!(end.line, 1); assert_eq!(end.column, 0); let source_file = Span::call_site().source_file(); - assert_eq!(source_file.path().to_string(), "<unspecified>"); + assert_eq!(source_file.path().to_string_lossy(), "<unspecified>"); assert!(!source_file.is_real()); }