about summary refs log tree commit diff
path: root/src/test/run-pass/dead-code-leading-underscore.rs
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-31/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-3/+3
Now that support has been removed, all lingering use cases are renamed.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2014-08-11core/std: squash dead_code warnings from fail! invocations.Huon Wilson-1/+1
The fail macro defines some function/static items internally, which got a dead_code warning when `fail!()` is used inside a dead function. This is ugly and unnecessarily reveals implementation details, so the warnings can be squashed. Fixes #16192.
2014-08-10lint: dead_code ignores items with leading underscores.Huon Wilson-0/+38
This generalises the behaviour with struct fields (which recieve no dead_code warning if they have a leading _), and other similar lints, to all items, e.g. `fn _foo() {} fn main() {}` has no warnings.