Rollup merge of #147322 - Zalathar:llvm-imports, r=jdonszelmann
cg_llvm: Consistently import `llvm::Type` and `llvm::Value` We already have other modules that import these types and other types from `llvm`, so having the re-exports `type_::Type` and `value::Value` just distracts rust-analyzer and results in messier and less-consistent imports. No functional change.
This commit is contained in:
@@ -6,7 +6,7 @@ use rustc_span::InnerSpan;
|
||||
pub(crate) use self::Diagnostic::*;
|
||||
use self::OptimizationDiagnosticKind::*;
|
||||
use super::{DiagnosticInfo, SMDiagnostic};
|
||||
use crate::value::Value;
|
||||
use crate::llvm::Value;
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub(crate) enum OptimizationDiagnosticKind {
|
||||
|
||||
Reference in New Issue
Block a user