File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
crates/proc-macro-srv/proc-macro-test Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,8 @@ fn main() {
100
100
. current_dir ( & staging_dir)
101
101
. args ( [ "pkgid" , name] )
102
102
. output ( )
103
- . unwrap ( ) . stdout ,
103
+ . unwrap ( )
104
+ . stdout ,
104
105
)
105
106
. unwrap ( ) ;
106
107
let pkgid = pkgid. trim ( ) ;
@@ -109,7 +110,8 @@ fn main() {
109
110
for message in Message :: parse_stream ( output. stdout . as_slice ( ) ) {
110
111
if let Message :: CompilerArtifact ( artifact) = message. unwrap ( ) {
111
112
if artifact. target . kind . contains ( & "proc-macro" . to_string ( ) ) {
112
- if artifact. package_id . repr . starts_with ( & repr) || artifact. package_id . repr == pkgid {
113
+ if artifact. package_id . repr . starts_with ( & repr) || artifact. package_id . repr == pkgid
114
+ {
113
115
artifact_path = Some ( PathBuf :: from ( & artifact. filenames [ 0 ] ) ) ;
114
116
}
115
117
}
You can’t perform that action at this time.
0 commit comments