mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 14:36:49 +00:00
Update tests
This commit is contained in:
parent
eebad40932
commit
1752929983
@ -48,3 +48,12 @@ pub trait SomeTrait<T>
|
||||
T: Something + Sync + Send + Display + Debug + Copy + Hash + Debug + Display + Write + Read + FromStr
|
||||
{
|
||||
}
|
||||
|
||||
// #2020
|
||||
impl<'a, 'gcx, 'tcx> ProbeContext<'a, 'gcx, 'tcx> {
|
||||
fn elaborate_bounds<F>(&mut self, bounds: &[ty::PolyTraitRef<'tcx>], mut mk_cand: F)
|
||||
where F: for<'b> FnMut(&mut ProbeContext<'b, 'gcx, 'tcx>, ty::PolyTraitRef<'tcx>, ty::AssociatedItem),
|
||||
{
|
||||
// ...
|
||||
}
|
||||
}
|
||||
|
@ -113,3 +113,17 @@ where
|
||||
+ FromStr,
|
||||
{
|
||||
}
|
||||
|
||||
// #2020
|
||||
impl<'a, 'gcx, 'tcx> ProbeContext<'a, 'gcx, 'tcx> {
|
||||
fn elaborate_bounds<F>(&mut self, bounds: &[ty::PolyTraitRef<'tcx>], mut mk_cand: F)
|
||||
where
|
||||
F: for<'b> FnMut(
|
||||
&mut ProbeContext<'b, 'gcx, 'tcx>,
|
||||
ty::PolyTraitRef<'tcx>,
|
||||
ty::AssociatedItem,
|
||||
),
|
||||
{
|
||||
// ...
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user