Document failure cases for `char_at` and friends.
auto merge of #14609 : aturon/rust/issue-12882, r=alexcrichton