about summary refs log tree commit diff
path: root/src/test/run-pass/macros
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests with naming conflicts to uiVadim Petrochenkov-783/+0
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-2073/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+2
2019-07-19Implement checks for meta-variables in macrosJulien Cretin-0/+34
2019-07-17normalize use of backticks in compiler messages for librustc/lintSamy Kacimi-1/+1
https://github.com/rust-lang/rust/issues/60532
2019-07-15pprust: Fix formatting regressions from the previous commitsVadim Petrochenkov-2/+2
Fix some remaining cases of bad formatting Update some failing tests
2019-07-07Collect library features from non-exported macrosVadim Petrochenkov-1/+1
2019-06-09Fix inaccurate comments in '?' Kleene operator tests.Mazdak Farrokhzad-26/+60
2019-06-09Update tests since ? macro op is supported on 2015.Mazdak Farrokhzad-0/+33
2019-06-08Remove unused `#![feature(custom_attribute)]`sVadim Petrochenkov-1/+0
2019-05-29Update run-pass test suite to use dynmemoryruins-3/+3
2019-05-17Remove the unstable and deprecated mpsc_selectJosh Stone-2/+0
This removes macro `select!` and `std::sync::mpsc::{Handle, Select}`, which were all unstable and have been deprecated since 1.32.
2019-04-22Remove double trailing newlinesvarkor-4/+0
2019-02-07fix existing testsmark-8/+8
2018-12-25Remove licensesMark Rousskov-894/+5
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-11-27remove uses of feature gateMark Mansi-2/+0
2018-11-21macro_literal_matcher: fixes per petrochenkov's reviewDan Aloni-1/+0
2018-11-21Stabilize macro_literal_matcherDan Aloni-1/+1
2018-11-03fix test falloutAlex Burka-4/+4
2018-10-28resolve: Refactor away `legacy_macro_imports`/`LegacyMacroImports`Vadim Petrochenkov-0/+8
2018-10-25Rollup merge of #54977 - estebank:macro-arg-parse, r=pnkfelixPietro Albini-0/+16
Accept `Option<Box<$t:ty>>` in macro argument Given the following code, compile successfuly: ``` macro_rules! test { ( fn fun() -> Option<Box<$t:ty>>; ) => { fn fun(x: $t) -> Option<Box<$t>> { Some(Box::new(x)) } } } test! { fn fun() -> Option<Box<i32>>; } ``` Fix #25274.
2018-10-10Accept `Option<Box<$t:ty>>` in macro argumentEsteban Küber-0/+16
Given the following code, compile successfuly: ``` macro_rules! test { ( fn fun() -> Option<Box<$t:ty>>; ) => { fn fun(x: $t) -> Option<Box<$t>> { Some(Box::new(x)) } } } test! { fn fun() -> Option<Box<i32>>; } ```
2018-10-08parse_trait_item_ now handles interpolated blocks as function body declsMatthew Russo-0/+42
2018-09-27Bump to 1.31.0 and bootstrap from 1.30 betaJosh Stone-2/+0
2018-09-26Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling ↵Felix S. Klock II-0/+19
with clean stderr again. Most were added mechanically.
2018-09-26Migrate `src/test/ui/run-pass/*` back to `src/test/run-pass/`.Felix S. Klock II-0/+3569
Fix #54047