See: rust-lang/rust#84111
The TryFrom implementation is already kind of implemented by TryFromIterator and rust 2021 edition (with the new edition arrays implement IntoIterator trait):
let table = ArrayMap::try_from_iterator([
(1, 2),
(3, 4),
(5, 6)
]).expect("failed to create the hash map");