diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-06-24 00:57:39 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-06-24 01:09:27 -0700 |
| commit | c023856b38c847731720fa8e26f3e1b9062bc946 (patch) | |
| tree | bf12164ccd47b9f5a1441de065187bb54bc9442d /src/test/run-pass/thinlto | |
| parent | 8e11189cbb129b5df33e27d21c077da6cfc5926f (diff) | |
| download | rust-c023856b38c847731720fa8e26f3e1b9062bc946.tar.gz rust-c023856b38c847731720fa8e26f3e1b9062bc946.zip | |
Detect missing `;` on methods with return type `()`
- Point out the origin of a type requirement when it is the return type of a method - Point out possibly missing semicolon when the return type is () and the implicit return makes sense as a statement - Suggest changing the return type of methods with default return type - Don't suggest changing the return type on fn main() - Don't suggest changing the return type on impl fn
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
