1
Fork 0

Rollup merge of #121695 - oli-obk:split_ty_utils, r=compiler-errors

Split rustc_type_ir to avoid rustc_ast from depending on it

unblocks #121576

and resolves a FIXME in `rustc_ast`'s `Cargo.toml`

The new crate is tiny, but it will get bigger in #121576
This commit is contained in:
Guillaume Gomez 2024-02-28 16:04:53 +01:00 committed by GitHub
commit a62cfe04d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 117 additions and 74 deletions

View file

@ -1,9 +1,8 @@
use rustc_hir as hir;
use rustc_hir_pretty::qpath_to_string;
use rustc_lint_defs::builtin::STATIC_MUT_REFS;
use rustc_middle::ty::TyCtxt;
use rustc_middle::ty::{Mutability, TyCtxt};
use rustc_span::Span;
use rustc_type_ir::Mutability;
use crate::errors;