about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorZack M. Davis <code@zackmdavis.net>2017-06-23 18:29:30 -0700
committerZack M. Davis <code@zackmdavis.net>2017-06-23 19:34:28 -0700
commit426331b9e44a955b0e43da9b1542b7cf15fac31e (patch)
treeec2a7b7e83f328f598efab11dab31718fe7fc1d8 /src/test/run-pass/thinlto
parent229d0d3266002d343cdd2f4a3bf7f2fe9da15f38 (diff)
downloadrust-426331b9e44a955b0e43da9b1542b7cf15fac31e.tar.gz
rust-426331b9e44a955b0e43da9b1542b7cf15fac31e.zip
remove unused parameters from LintStore.find_lint
Long ago, in the before-time, the find_lint method was created with the
unused_variables ("unused_variable" in the singular, as it was called at
the time) attribute in anticipation of using the session and span in the
handling of renamed lints (31b7d64fd), and indeed, the session and span
came to be used in this method, while the unused_variables attribute
remained (1ad1e2e29). In modern times, the session and span are again no
longer used (ca81d3dd); it seems we can safely prune them from the
method signature, for justice, and mercy.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions