Rename all files with the 'rc' extension
Add the `warnings` lint attribute
auto merge of #7371 : alexcrichton/rust/trying, r=cmr

This is an attempt at a smaller request than #7113, it's just the first two commits