about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2017-06-24 00:57:39 -0700
committerEsteban Küber <esteban@kuber.com.ar>2017-06-24 01:09:27 -0700
commitc023856b38c847731720fa8e26f3e1b9062bc946 (patch)
treebf12164ccd47b9f5a1441de065187bb54bc9442d /src/test/run-pass/thinlto
parent8e11189cbb129b5df33e27d21c077da6cfc5926f (diff)
downloadrust-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