commit | ee2e9e1edabb7825df904c0117393059446c4462 | [log] [tgz] |
---|---|---|
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | Tue Jan 30 16:57:46 2024 +0100 |
committer | GitHub <noreply@github.com> | Tue Jan 30 16:57:46 2024 +0100 |
tree | 1b55647c3fb65cfaf9e3359c3f201b42b261eeb4 | |
parent | efff26701bba0bc2e63310cc29994fa31becca24 [diff] | |
parent | 492df34eea0215abb6e3e43dcdcef30df7be23f2 [diff] |
Rollup merge of #118533 - chenyukang:yukang-fix-118455, r=petrochenkov Suppress unhelpful diagnostics for unresolved top level attributes Fixes #118455, unresolved top level attribute error didn't imported prelude and already have emitted an error, report builtin macro and attributes error by the way, so `check_invalid_crate_level_attr` in can ignore them. Also fixes #89566, fixes #67107. r? `@petrochenkov`
This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.
Note: this README is for users rather than contributors. If you wish to contribute to the compiler, you should read CONTRIBUTING.md instead.
Read “Installation” from The Book.
If you really want to install from source (though this is not recommended), see INSTALL.md.
See https://www.rust-lang.org/community for a list of chat platforms and forums.
See CONTRIBUTING.md.
Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the “Rust Trademarks”).
If you want to use these names or brands, please read the media guide.
Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.