热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Parsedoctestsinneedless_doctest_main

Thisswitchesfromtext-basedsearchtorunningtheparsertoavoidfalsepositives.Ins

This switches from text-based search to running the parser to avoid false positives. Inspired by how rustdoc handles this and by #4729.

cc

changelog: Fix multiple false positives in [

1
needless_doctest_main

].

Fixes #5879
Fixes #4906
Fixes #5103
Fixes #4698

该提问来源于开源项目:rust-lang/rust-clippy

:sunny: Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Manishearth,flip1995
Pushing f8db258b224bb5616fb550a2a6b780beec9ff3c4 to master...





   



推荐阅读
author-avatar
jinmeiyy_368
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有