-# Used by CI to be able to push:
-/.github/deploy_key
-out
-
-# Compiled files
-*.o
-*.d
-*.so
-*.rlib
-*.dll
-*.pyc
-*.rmeta
-
-# Executables
-*.exe
-
-# Generated by Cargo
-*Cargo.lock
-/target
-/clippy_lints/target
-/clippy_utils/target
-/clippy_workspace_tests/target
-/clippy_dev/target
-/lintcheck/target
-/rustc_tools_util/target
-
-# Generated by dogfood
-/target_recur/
-
-# gh pages docs
-util/gh-pages/lints.json
-
-# rustfmt backups
-*.rs.bk
-
-helper.txt
+# This file should only ignore things that are generated during a `x.py` build,
+# generated by common IDEs, and optional files controlled by the user that
+# affect the build (such as config.toml).
+# In particular, things like `mir_dump` should not be listed here; they are only
+# created during manual debugging and many people like to clean up instead of
+# having git ignore such leftovers. You can use `.git/info/exclude` to
+# configure your local ignore list.
+# FIXME: This needs cleanup.
+*~
+*.swp
+*.swo
+.#*
+.DS_Store
+.cproject
+.hg/
+.hgignore
+.idea