Trademarking language names is not allowed since a language is not considered a good but rather a standard, however what is being trademarked here is the software product which is the compiler of Rust. It just so happens that the language and the compiler software are called the same thing.