Skip to content

Commit 42d1f08

Browse files
committed
src/cmd/go/internal/load: remove PackageError.Hard
This field isn't actually used. The last usage was deleted in CL 518775 and even then it wasn't actually being set. Change-Id: Ifbe9da9c2a6d81a40c136a60028902176f443588 Reviewed-on: https://go-review.googlesource.com/c/go/+/610255 Reviewed-by: Sam Thanawalla <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 557211c commit 42d1f08

File tree

1 file changed

+0
-1
lines changed
  • src/cmd/go/internal/load

1 file changed

+0
-1
lines changed

src/cmd/go/internal/load/pkg.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,6 @@ type PackageError struct {
459459
Pos string // position of error
460460
Err error // the error itself
461461
IsImportCycle bool // the error is an import cycle
462-
Hard bool // whether the error is soft or hard; soft errors are ignored in some places
463462
alwaysPrintStack bool // whether to always print the ImportStack
464463
}
465464

0 commit comments

Comments
 (0)