Skip to content

Commit ef33827

Browse files
committed
Remove incorrect comment
1 parent 9549c3a commit ef33827

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

compiler/rustc_resolve/src/def_collector.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct DefCollector<'a, 'b, 'tcx> {
3939
/// we need to wait until we know what the macro expands to before we create the def for
4040
/// the anon const. That's because we lower some anon consts into `hir::ConstArgKind::Path`,
4141
/// which don't have defs.
42-
///
42+
///
4343
/// See [`Self::visit_anon_const`].
4444
pending_anon_const_info: Option<PendingAnonConstInfo>,
4545
impl_trait_context: ImplTraitContext,

tests/ui/const-generics/early/trivial-const-arg-macro-param.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//@ check-pass
22

3-
// This is a regression test for #128016.
4-
53
macro_rules! len {
64
($x:ident) => {
75
$x

0 commit comments

Comments
 (0)