about summary refs log tree commit diff
path: root/src/test/compile-fail/extenv-no-args.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-11/+0
2013-08-08env! syntax extension changesSteven Fackler-4/+2
env! aborts compilation of the specified environment variable is not defined and takes an optional second argument containing a custom error message. option_env! creates an Option<&'static str> containing the value of the environment variable. There are no run-pass tests that check the behavior when the environment variable is defined since the test framework doesn't support setting environment variables at compile time as opposed to runtime. However, both env! and option_env! are used inside of rustc itself, which should act as a sufficient test. Close #2248
2012-12-12syntax: remove remaining #syntaxext machinery. Close #3516.Graydon Hoare-1/+1
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-10-12Replace several common macros of the form #m[...] with m!(...)Kevin Cantu-1/+1
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-1/+1
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-1/+1
2012-05-18Make extracting syntax extension arguments easier.Paul Stansifer-1/+1
2011-08-20ReformatBrian Anderson-3/+1
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-1/+3
2011-07-27Reformat for new syntaxMarijn Haverbeke-3/+1
2011-06-04rustc: Use spans for #env errorsBrian Anderson-0/+5
Issue #444