golang.org/x/mod/modfile.File.DropRequire (method)

one use

	golang.org/x/mod/modfile (current package)
		rule.go#L825: func (f *File) DropRequire(path string) error {