Skip to content

Commit 957935a

Browse files
committed
Fix merge errors
1 parent 13cee1e commit 957935a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustc/middle/ty.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,8 @@ pub struct ctxt<'tcx> {
755755

756756
/// A set of predicates that have been fulfilled *somewhere*.
757757
/// This is used to avoid duplicate work. Predicates are only
758-
/// added to this set when they
758+
/// added to this set when they mention only "global" names
759+
/// (i.e., no type or lifetime parameters).
759760
pub fulfilled_predicates: RefCell<traits::FulfilledPredicates<'tcx>>,
760761

761762
/// Caches the representation hints for struct definitions.
@@ -823,7 +824,7 @@ bitflags! {
823824

824825
// true if there are "names" of types and regions and so forth
825826
// that are local to a particular fn
826-
const HAS_LOCAL_NAMES = 1 << 8,
827+
const HAS_LOCAL_NAMES = 1 << 9,
827828

828829
const NEEDS_SUBST = TypeFlags::HAS_PARAMS.bits |
829830
TypeFlags::HAS_SELF.bits |

0 commit comments

Comments
 (0)