diff options
| author | bors <bors@rust-lang.org> | 2020-02-21 20:25:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-02-21 20:25:50 +0000 |
| commit | 1d7e8187470180efa8ea9c837af095835192cede (patch) | |
| tree | af7304e42b6e4d139a743a9e8da4dcc4d3dff1f2 /src/librustc/query | |
| parent | 8aa9d2014f4e5258f83b907e8431c59a33acdae7 (diff) | |
| parent | 310f4707e59f696814e0e800be0b5ec6e81353d5 (diff) | |
| download | rust-1d7e8187470180efa8ea9c837af095835192cede.tar.gz rust-1d7e8187470180efa8ea9c837af095835192cede.zip | |
Auto merge of #69242 - cjgillot:object_violations, r=Zoxc
Querify object_safety_violations. Split from #69076 r? @Zoxc
Diffstat (limited to 'src/librustc/query')
| -rw-r--r-- | src/librustc/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/query/mod.rs b/src/librustc/query/mod.rs index 9d0aea05d84..02c51a2ebb0 100644 --- a/src/librustc/query/mod.rs +++ b/src/librustc/query/mod.rs @@ -661,7 +661,7 @@ rustc_queries! { desc { |tcx| "building specialization graph of trait `{}`", tcx.def_path_str(key) } cache_on_disk_if { true } } - query is_object_safe(key: DefId) -> bool { + query object_safety_violations(key: DefId) -> Vec<traits::ObjectSafetyViolation> { desc { |tcx| "determine object safety of trait `{}`", tcx.def_path_str(key) } } |
