mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Add flag to disallow opaque types for DisplayTarget::SourceCode
This commit is contained in:
parent
7501d3b721
commit
ac03de773f
15 changed files with 62 additions and 29 deletions
|
@ -116,7 +116,9 @@ impl<'a> PathTransform<'a> {
|
|||
Some((
|
||||
k,
|
||||
ast::make::ty(
|
||||
&default.display_source_code(db, source_module.into()).ok()?,
|
||||
&default
|
||||
.display_source_code(db, source_module.into(), false)
|
||||
.ok()?,
|
||||
),
|
||||
))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue