Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
453b51a65ab00939d2dce3de24ce38489b5c7eb6
rust/tests/ui/tool-attributes/tool-attributes-misplaced-2.rs

7 lines
205 B
Rust
Raw Normal View History

resolve/expand: Catch macro kind mismatches early in resolve This way we are processing all of them in a single point, rather than separately for each syntax extension kind. Also, the standard expected/found wording is used.
2019-07-03 12:47:24 +03:00
#[derive(rustfmt::skip)] //~ ERROR expected derive macro, found tool attribute `rustfmt::skip`
resolve: Implement prelude search for macro paths resolve/expansion: Implement tool attributes
2018-07-23 02:52:51 +03:00
struct S;
Add tests for a new feature 'tool_attributes'
2018-01-30 13:12:37 +09:00
fn main() {
resolve/expand: Catch macro kind mismatches early in resolve This way we are processing all of them in a single point, rather than separately for each syntax extension kind. Also, the standard expected/found wording is used.
2019-07-03 12:47:24 +03:00
rustfmt::skip!(); //~ ERROR expected macro, found tool attribute `rustfmt::skip`
Add tests for a new feature 'tool_attributes'
2018-01-30 13:12:37 +09:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4874ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API