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
aa5dbee3ebff8703456e8be3b5fb368fc68fe0d1
rust/tests/ui/proc-macro/macro-use-bang.rs

10 lines
139 B
Rust
Raw Normal View History

tests/ui/proc-macro/*: Migrate FIXMEs to check-pass proc-macros are processed early in the compiler pipeline. There is no need to involve codegen. So change to check-pass. I have also looked through each changed test and to me it is sufficiently clear that codegen is not needed for the purpose of the test. I skipped changing tests/ui/proc-macro/no-missing-docs.rs in this commit because it was not clear to me that it can be changed to check-pass.
2023-07-27 10:29:53 +02:00
// check-pass
tests: Centralize proc macros commonly used for testing
2019-05-22 01:09:58 +03:00
// aux-build:test-macros.rs
Implement function-like procedural macros ( `#[proc_macro]`)
2017-02-27 12:03:19 -08:00
#[macro_use]
tests: Centralize proc macros commonly used for testing
2019-05-22 01:09:58 +03:00
extern crate test_macros;
Implement function-like procedural macros ( `#[proc_macro]`)
2017-02-27 12:03:19 -08:00
fn main() {
tests: Centralize proc macros commonly used for testing
2019-05-22 01:09:58 +03:00
identity!(println!("Hello, world!"));
Implement function-like procedural macros ( `#[proc_macro]`)
2017-02-27 12:03:19 -08:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 3535ms Template: 5ms
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