Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_expand/src/builtin_macro.rs')
-rw-r--r--crates/hir_expand/src/builtin_macro.rs76
1 files changed, 0 insertions, 76 deletions
diff --git a/crates/hir_expand/src/builtin_macro.rs b/crates/hir_expand/src/builtin_macro.rs
index a4ddafbf7a..55dc665c5d 100644
--- a/crates/hir_expand/src/builtin_macro.rs
+++ b/crates/hir_expand/src/builtin_macro.rs
@@ -670,82 +670,6 @@ mod tests {
}
#[test]
- fn test_column_expand() {
- check_expansion(
- r#"
- #[rustc_builtin_macro]
- macro_rules! column {() => {}}
- column!()
- "#,
- expect![["0"]],
- );
- }
-
- #[test]
- fn test_line_expand() {
- check_expansion(
- r#"
- #[rustc_builtin_macro]
- macro_rules! line {() => {}}
- line!()
- "#,
- expect![["0"]],
- );
- }
-
- #[test]
- fn test_stringify_expand() {
- check_expansion(
- r#"
- #[rustc_builtin_macro]
- macro_rules! stringify {() => {}}
- stringify!(
- a
- b
- c
- )
- "#,
- expect![["\"a b c\""]],
- );
- }
-
- #[test]
- fn test_env_expand() {
- check_expansion(
- r#"
- #[rustc_builtin_macro]
- macro_rules! env {() => {}}
- env!("TEST_ENV_VAR")
- "#,
- expect![["\"__RA_UNIMPLEMENTED__\""]],
- );
- }
-
- #[test]
- fn test_option_env_expand() {
- check_expansion(
- r#"
- #[rustc_builtin_macro]
- macro_rules! option_env {() => {}}
- option_env!("TEST_ENV_VAR")
- "#,
- expect![["std::option::Option::None:: < &str>"]],
- );
- }
-
- #[test]
- fn test_file_expand() {
- check_expansion(
- r#"
- #[rustc_builtin_macro]
- macro_rules! file {() => {}}
- file!()
- "#,
- expect![[r#""""#]],
- );
- }
-
- #[test]
fn test_assert_expand() {
check_expansion(
r#"