diff options
| author | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-02-07 01:29:48 -0700 | 
|---|---|---|
| committer | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-02-16 17:05:56 -0700 | 
| commit | c183110cc26abb506dba0a4def917735fb6eb6f0 (patch) | |
| tree | 5f4a6764ed381c957728b9b11341f58eff93686b /src/librustdoc/scrape_examples.rs | |
| parent | d822b97a27e50f5a091d2918f6ff0ffd2d2827f5 (diff) | |
| download | rust-c183110cc26abb506dba0a4def917735fb6eb6f0.tar.gz rust-c183110cc26abb506dba0a4def917735fb6eb6f0.zip | |
remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata
Diffstat (limited to 'src/librustdoc/scrape_examples.rs')
| -rw-r--r-- | src/librustdoc/scrape_examples.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/librustdoc/scrape_examples.rs b/src/librustdoc/scrape_examples.rs index 14c066da9dc..f28c164d61d 100644 --- a/src/librustdoc/scrape_examples.rs +++ b/src/librustdoc/scrape_examples.rs @@ -169,7 +169,7 @@ where }; let ident_span = path.ident.span; - (tcx.bound_type_of(def_id).subst_identity(), call_span, ident_span) + (tcx.type_of(def_id).subst_identity(), call_span, ident_span) } _ => { return; | 
