about summary refs log tree commit diff
path: root/src/test/run-pass/resolve-pseudo-shadowing.rs
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-11/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-12`#[must_use]` for associated functions is supposed to actually workZack M. Davis-1/+1
In the comments of (closed, defunct) pull request #54884, Mazdak "Centril" Farrokhzad noted that must-use annotations didn't work on an associated function (what other communities might call a "static method"). Subsequent logging revealed that in this case we have a `Def::Method`, whereas the lint pass was only matching on `Def::Fn`. (One could argue that those def-names are thereby misleading—must-use for self-ful methods have always worked—but documenting or reworking that can be left to another day.)
2015-11-03resolve: don't speculatively create freevars when resolvingAriel Ben-Yehuda-0/+20
Fixes #29522