File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
crates/proc-macro-srv/proc-macro-test Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,11 @@ fn main() {
109
109
let mut artifact_path = None ;
110
110
for message in Message :: parse_stream ( output. stdout . as_slice ( ) ) {
111
111
if let Message :: CompilerArtifact ( artifact) = message. unwrap ( ) {
112
- if artifact. target . kind . contains ( & "proc-macro" . to_string ( ) ) {
113
- if artifact. package_id . repr . starts_with ( & repr) || artifact . package_id . repr == pkgid
114
- {
115
- artifact_path = Some ( PathBuf :: from ( & artifact . filenames [ 0 ] ) ) ;
116
- }
112
+ if artifact. target . kind . contains ( & "proc-macro" . to_string ( ) )
113
+ && ( artifact. package_id . repr . starts_with ( & repr)
114
+ || artifact . package_id . repr == pkgid )
115
+ {
116
+ artifact_path = Some ( PathBuf :: from ( & artifact . filenames [ 0 ] ) ) ;
117
117
}
118
118
}
119
119
}
You can’t perform that action at this time.
0 commit comments