rust-lang/rust — pull request #18527 by bkoropoff (2014-11-02 03:29:03+00:00)
Title: Fix object safety check

- Always consider static methods object-safe since they can never be called through a trait object anyway. The RFC doesn't mention static methods at all, so I'm assuming this is reasonable behavior.
- Fix issue #18490 as a side-effect since we avoid trying to take an out-of-bounds slice later in the code

Closes #18490